Interface ArtifactGenerator

All Superinterfaces:
AutoCloseable

public interface ArtifactGenerator extends AutoCloseable
An artifact generator that participates in the installation/deployment of artifacts.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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, never null.
  • Method Details

    • generatorId

      Returns the generator ID, never null.
    • 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 interface AutoCloseable