Interface ArtifactDecoratorFactory
-
public interface ArtifactDecoratorFactory
A factory to create artifact decorators.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetPriority()The priority of this factory.ArtifactDecoratornewInstance(org.eclipse.aether.RepositorySystemSession session)Creates a new artifact decorator for the session.
-
-
-
Method Detail
-
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 benull.- 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.
-
-