public abstract class ArtifactResolverPostProcessorSupport extends java.lang.Object implements ArtifactResolverPostProcessor
ArtifactResolverPostProcessor
.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CONFIG_PROP_PREFIX |
private java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
ArtifactResolverPostProcessorSupport(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
configPropKey(java.lang.String name)
To be used by underlying implementations to form configuration property keys properly scoped.
|
protected abstract void |
doPostProcess(RepositorySystemSession session,
java.util.List<ArtifactResult> artifactResults) |
protected boolean |
isEnabled(RepositorySystemSession session)
Returns
true if session configuration marks this instance as enabled. |
void |
postProcess(RepositorySystemSession session,
java.util.List<ArtifactResult> artifactResults)
This implementation will call into underlying code only if enabled.
|
private static final java.lang.String CONFIG_PROP_PREFIX
private final java.lang.String name
protected ArtifactResolverPostProcessorSupport(java.lang.String name)
public void postProcess(RepositorySystemSession session, java.util.List<ArtifactResult> artifactResults)
postProcess
in interface ArtifactResolverPostProcessor
protected abstract void doPostProcess(RepositorySystemSession session, java.util.List<ArtifactResult> artifactResults)
protected java.lang.String configPropKey(java.lang.String name)
protected boolean isEnabled(RepositorySystemSession session)
true
if session configuration marks this instance as enabled.
Default value is false
.