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
Fields inherited from interface org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory
ARTIFACT_GENERATOR_ID
-
Constructor Summary
ConstructorDescriptionSigstoreSignatureArtifactGeneratorFactory
(ArtifactPredicateFactory artifactPredicateFactory) -
Method Summary
Modifier and TypeMethodDescriptionfloat
The 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)
-
-
Method Details
-
newInstance
Description copied from interface:ArtifactGeneratorFactory
Creates a new artifact generator for the specified install request.- Specified by:
newInstance
in 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
null
if none.
-
newInstance
Description copied from interface:ArtifactGeneratorFactory
Creates a new artifact generator for the specified deploy request.- Specified by:
newInstance
in 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
null
if none.
-
getPriority
Description copied from interface:ArtifactGeneratorFactory
The priority of this factory. Factories with higher priority are invoked before those with lower priority.- Specified by:
getPriority
in interfaceArtifactGeneratorFactory
- Returns:
- The priority of this factory.
-