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 Object implements org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor
Support class to implement ArtifactResolverPostProcessor.
Since:
1.9.0
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    To be used by underlying implementations to form configuration property keys properly scoped.
    protected abstract void
    doPostProcess(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
     
    protected boolean
    isEnabled(org.eclipse.aether.RepositorySystemSession session)
    Returns true if session configuration marks this instance as enabled.
    void
    postProcess(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
    This implementation will call into underlying code only if enabled.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • postProcess

      public void postProcess(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
      This implementation will call into underlying code only if enabled.
      Specified by:
      postProcess in interface org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor
    • doPostProcess

      protected abstract void doPostProcess(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.resolution.ArtifactResult> artifactResults)
    • configPropKey

      protected String configPropKey(String name)
      To be used by underlying implementations to form configuration property keys properly scoped.
    • isEnabled

      protected boolean isEnabled(org.eclipse.aether.RepositorySystemSession session)
      Returns true if session configuration marks this instance as enabled.

      Default value is false.