public static class PatchingFileArtifact.ConcreteDirectoryArtifact extends Object implements PatchingFileArtifact<PatchingFileArtifact.DirectoryArtifactState,PatchingFileArtifact.DirectoryArtifactState>
PatchingFileArtifact.ConcreteDirectoryArtifact, PatchingFileArtifact.ConcreteFileArtifact, PatchingFileArtifact.DirectoryArtifactState, PatchingFileArtifact.FileArtifactState, PatchingFileArtifact.FileState
PatchingArtifact.ArtifactState
Constructor and Description |
---|
ConcreteDirectoryArtifact(String fileName,
PatchingArtifact<PatchingFileArtifact.DirectoryArtifactState,? extends PatchingArtifact.ArtifactState>... artifacts) |
Modifier and Type | Method and Description |
---|---|
protected void |
addArtifact(PatchingArtifact<S,? extends PatchingArtifact.ArtifactState> artifact) |
boolean |
equals(Object obj) |
Collection<PatchingArtifact<S,? extends PatchingArtifact.ArtifactState>> |
getArtifacts()
Get the associated child artifacts.
|
int |
hashCode() |
boolean |
process(PatchingFileArtifact.DirectoryArtifactState parent,
org.jboss.as.patching.validation.PatchingArtifactProcessor processor)
Process the artifact and push it to the
PatchingArtifactProcessor for further analysis. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getArtifacts
public ConcreteDirectoryArtifact(String fileName, PatchingArtifact<PatchingFileArtifact.DirectoryArtifactState,? extends PatchingArtifact.ArtifactState>... artifacts)
public boolean process(PatchingFileArtifact.DirectoryArtifactState parent, org.jboss.as.patching.validation.PatchingArtifactProcessor processor)
PatchingArtifact
PatchingArtifactProcessor
for further analysis.process
in interface PatchingArtifact<PatchingFileArtifact.DirectoryArtifactState,PatchingFileArtifact.DirectoryArtifactState>
parent
- the parent stateprocessor
- the processorpublic Collection<PatchingArtifact<S,? extends PatchingArtifact.ArtifactState>> getArtifacts()
PatchingArtifact
getArtifacts
in interface PatchingArtifact<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState>
protected void addArtifact(PatchingArtifact<S,? extends PatchingArtifact.ArtifactState> artifact)
Copyright © 2023 JBoss by Red Hat. All rights reserved.