Class ArtifactResolverPostProcessorSupport
java.lang.Object
org.eclipse.aether.internal.impl.resolution.ArtifactResolverPostProcessorSupport
- All Implemented Interfaces:
ArtifactResolverPostProcessor
- Direct Known Subclasses:
TrustedChecksumsArtifactResolverPostProcessor
public abstract class ArtifactResolverPostProcessorSupport
extends Object
implements ArtifactResolverPostProcessor
Support class to implement
ArtifactResolverPostProcessor
.- Since:
- 1.9.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
configPropKey
(String name) To be used by underlying implementations to form configuration property keys properly scoped.protected abstract void
doPostProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) protected boolean
isEnabled
(RepositorySystemSession session) Returnstrue
if session configuration marks this instance as enabled.void
postProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) This implementation will call into underlying code only if enabled.
-
Constructor Details
-
ArtifactResolverPostProcessorSupport
-
-
Method Details
-
postProcess
This implementation will call into underlying code only if enabled.- Specified by:
postProcess
in interfaceArtifactResolverPostProcessor
-
doPostProcess
protected abstract void doPostProcess(RepositorySystemSession session, List<ArtifactResult> artifactResults) -
configPropKey
To be used by underlying implementations to form configuration property keys properly scoped. -
isEnabled
Returnstrue
if session configuration marks this instance as enabled.Default value is
false
.
-