Interface ArtifactDecorator
-
public interface ArtifactDecorator
An artifact decorator.- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static ArtifactDecoratorNOOPA "no op" decorator.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.aether.artifact.ArtifactdecorateArtifact(org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)Decorates artifact.
-
-
-
Field Detail
-
NOOP
static final ArtifactDecorator NOOP
A "no op" decorator. Usable by factories if factory does not want to decorate, as factory must return non-nulldecorator instance.
-
-
Method Detail
-
decorateArtifact
org.eclipse.aether.artifact.Artifact decorateArtifact(org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult)
Decorates artifact.- Parameters:
artifactDescriptorResult- the artifact descriptor result of artifact, nevernull.- Returns:
- The decorated artifact, must never return
null.
-
-