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 Details

    • generatorId

      Returns the generator ID, never null.
    • generate

      Collection<? extends Artifact> generate(Collection<? extends 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