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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoPostProcess(RepositorySystemSession session, List<ArtifactResult> artifactResults) protected abstract booleanisEnabled(RepositorySystemSession session) Returnstrueif session configuration marks this instance as enabled.voidpostProcess(RepositorySystemSession session, List<ArtifactResult> artifactResults) This implementation will call into underlying code only if enabled.
-
Field Details
-
CONFIG_PROPS_PREFIX
- See Also:
-
-
Constructor Details
-
ArtifactResolverPostProcessorSupport
public ArtifactResolverPostProcessorSupport()
-
-
Method Details
-
postProcess
This implementation will call into underlying code only if enabled.- Specified by:
postProcessin interfaceArtifactResolverPostProcessor
-
doPostProcess
protected abstract void doPostProcess(RepositorySystemSession session, List<ArtifactResult> artifactResults) -
isEnabled
Returnstrueif session configuration marks this instance as enabled.Default value is
false.
-