Interface ArtifactDecoratorFactory


public interface ArtifactDecoratorFactory
A factory to create artifact decorators.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The priority of this factory.
    newInstance(org.eclipse.aether.RepositorySystemSession session)
    Creates a new artifact decorator for the session.
  • Method Details

    • newInstance

      ArtifactDecorator newInstance(org.eclipse.aether.RepositorySystemSession session)
      Creates a new artifact decorator for the session.
      Parameters:
      session - The repository system session from which to configure the decorator, must not be null.
      Returns:
      The artifact decorator for the session, never null.
    • getPriority

      float getPriority()
      The priority of this factory. Factories with higher priority are invoked before those with lower priority.
      Returns:
      The priority of this factory.