public interface PatchingValidationErrorHandler
Modifier and Type | Field and Description |
---|---|
static PatchingValidationErrorHandler |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> |
addError(PatchingArtifact<P,S> artifact,
S state)
Add an error when trying to load an artifact.
|
<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> |
addInconsistent(PatchingArtifact<P,S> artifact,
S current)
Add an inconsistent artifact.
|
<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> |
addMissing(PatchingArtifact<P,S> artifact,
S state)
Add a missing artifact.
|
static final PatchingValidationErrorHandler DEFAULT
<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> void addError(PatchingArtifact<P,S> artifact, S state)
P
- the parent typeS
- the current typeartifact
- the artifactstate
- the artifact state<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> void addInconsistent(PatchingArtifact<P,S> artifact, S current)
P
- the parent typeS
- the current typeartifact
- the artifactcurrent
- the artifact stateexpected
- the artifact state<P extends PatchingArtifact.ArtifactState,S extends PatchingArtifact.ArtifactState> void addMissing(PatchingArtifact<P,S> artifact, S state)
P
- the parent typeS
- the current typeartifact
- the artifactstate
- the artifact stateCopyright © 2023 JBoss by Red Hat. All rights reserved.