Interface ArtifactGenerator
- All Superinterfaces:
AutoCloseable
An artifact generator that participates in the installation/deployment of artifacts.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Invoked when generator use is done.Collection
<? extends org.eclipse.aether.artifact.Artifact> generate
(Collection<? extends org.eclipse.aether.artifact.Artifact> generatedArtifacts) Generates artifacts.Returns the generator ID, nevernull
.
-
Method Details
-
generatorId
Returns the generator ID, nevernull
. -
generate
Collection<? extends org.eclipse.aether.artifact.Artifact> generate(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:
close
in interfaceAutoCloseable
-