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
      void close()
      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.String generatorId()
      Returns the generator ID, never null.
    • Method Detail

      • generatorId

        java.lang.String generatorId()
        Returns the generator ID, never null.
      • 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:
        close in interface java.lang.AutoCloseable