Class ArtifactResolverPostProcessorSupport
- java.lang.Object
-
- org.eclipse.aether.internal.impl.resolution.ArtifactResolverPostProcessorSupport
-
- All Implemented Interfaces:
org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor
- Direct Known Subclasses:
TrustedChecksumsArtifactResolverPostProcessor
public abstract class ArtifactResolverPostProcessorSupport extends java.lang.Object implements org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor
Support class to implementArtifactResolverPostProcessor.- Since:
- 1.9.0
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCONFIG_PROPS_PREFIX
-
Constructor Summary
Constructors Constructor Description ArtifactResolverPostProcessorSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddoPostProcess(org.eclipse.aether.RepositorySystemSession session, java.util.List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)protected abstract booleanisEnabled(org.eclipse.aether.RepositorySystemSession session)Returnstrueif session configuration marks this instance as enabled.voidpostProcess(org.eclipse.aether.RepositorySystemSession session, java.util.List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)This implementation will call into underlying code only if enabled.
-
-
-
Field Detail
-
CONFIG_PROPS_PREFIX
protected static final java.lang.String CONFIG_PROPS_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ArtifactResolverPostProcessorSupport
public ArtifactResolverPostProcessorSupport()
-
-
Method Detail
-
postProcess
public void postProcess(org.eclipse.aether.RepositorySystemSession session, java.util.List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
This implementation will call into underlying code only if enabled.- Specified by:
postProcessin interfaceorg.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor
-
doPostProcess
protected abstract void doPostProcess(org.eclipse.aether.RepositorySystemSession session, java.util.List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
-
isEnabled
protected abstract boolean isEnabled(org.eclipse.aether.RepositorySystemSession session)
Returnstrueif session configuration marks this instance as enabled.Default value is
false.
-
-