Class SigstoreSignatureArtifactGeneratorFactory
java.lang.Object
org.eclipse.aether.generator.sigstore.SigstoreSignatureArtifactGeneratorFactory
- All Implemented Interfaces:
ArtifactGeneratorFactory
@Singleton
@Named("sigstore")
public final class SigstoreSignatureArtifactGeneratorFactory
extends Object
implements ArtifactGeneratorFactory
-
Field Summary
FieldsFields inherited from interface org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory
ARTIFACT_GENERATOR_ID -
Constructor Summary
ConstructorsConstructorDescriptionSigstoreSignatureArtifactGeneratorFactory(ArtifactPredicateFactory artifactPredicateFactory, PathProcessor pathProcessor) -
Method Summary
Modifier and TypeMethodDescriptionfloatThe priority of this factory.newInstance(RepositorySystemSession session, DeployRequest request) Creates a new artifact generator for the specified deploy request.newInstance(RepositorySystemSession session, InstallRequest request) Creates a new artifact generator for the specified install request.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SigstoreSignatureArtifactGeneratorFactory
@Inject public SigstoreSignatureArtifactGeneratorFactory(ArtifactPredicateFactory artifactPredicateFactory, PathProcessor pathProcessor)
-
-
Method Details
-
newInstance
Description copied from interface:ArtifactGeneratorFactoryCreates a new artifact generator for the specified install request.- Specified by:
newInstancein interfaceArtifactGeneratorFactory- Parameters:
session- The repository system session from which to configure the generator, must not benull.request- The install request the metadata generator is used for, must not benull.- Returns:
- The artifact generator for the request or
nullif none.
-
newInstance
Description copied from interface:ArtifactGeneratorFactoryCreates a new artifact generator for the specified deploy request.- Specified by:
newInstancein interfaceArtifactGeneratorFactory- Parameters:
session- The repository system session from which to configure the generator, must not benull.request- The deploy request the metadata generator is used for, must not benull.- Returns:
- The artifact generator for the request or
nullif none.
-
getPriority
Description copied from interface:ArtifactGeneratorFactoryThe priority of this factory. Factories with higher priority are invoked before those with lower priority.- Specified by:
getPriorityin interfaceArtifactGeneratorFactory- Returns:
- The priority of this factory.
-