Interface ArtifactGeneratorFactory

All Known Implementing Classes:
GnupgSignatureArtifactGeneratorFactory, SigstoreSignatureArtifactGeneratorFactory

public interface ArtifactGeneratorFactory
A factory to create artifact generators. Artifact generators can contribute additional artifacts during the installation/deployment of artifacts.
Since:
2.0.0
  • Field Details

  • Method Details

    • newInstance

      Creates a new artifact generator for the specified install request.
      Parameters:
      session - The repository system session from which to configure the generator, must not be null.
      request - The install request the metadata generator is used for, must not be null.
      Returns:
      The artifact generator for the request or null if none.
    • newInstance

      Creates a new artifact generator for the specified deploy request.
      Parameters:
      session - The repository system session from which to configure the generator, must not be null.
      request - The deploy request the metadata generator is used for, must not be null.
      Returns:
      The artifact generator for the request or null if none.
    • getPriority

      float getPriority()
      The priority of this factory. Factories with higher priority are invoked before those with lower priority.
      Returns:
      The priority of this factory.