Interface ArtifactGenerator
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface ArtifactGenerator extends java.lang.AutoCloseable
An artifact generator that participates in the installation/deployment of artifacts.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Invoked when generator use is done.java.util.Collection<? extends org.eclipse.aether.artifact.Artifact>generate(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> generatedArtifacts)Generates artifacts.java.lang.StringgeneratorId()Returns the generator ID, nevernull.
-
-
-
Method Detail
-
generatorId
java.lang.String generatorId()
Returns the generator ID, nevernull.
-
generate
java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> generate(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> generatedArtifacts)
Generates artifacts.- Parameters:
generatedArtifacts- The generated artifacts so far.- Returns:
- The additional artifacts to install/deploy, never
null.
-
close
void close()
Invoked when generator use is done.- Specified by:
closein interfacejava.lang.AutoCloseable
-
-