Class GnupgSignatureArtifactGeneratorFactory
java.lang.Object
org.eclipse.aether.generator.gnupg.GnupgSignatureArtifactGeneratorFactory
- All Implemented Interfaces:
ArtifactGeneratorFactory
@Singleton
@Named("gnupg")
public final class GnupgSignatureArtifactGeneratorFactory
extends Object
implements ArtifactGeneratorFactory
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory
ARTIFACT_GENERATOR_ID
-
Constructor Summary
ConstructorDescriptionGnupgSignatureArtifactGeneratorFactory
(ArtifactPredicateFactory artifactPredicateFactory, Map<String, GnupgSignatureArtifactGeneratorFactory.Loader> loaders) -
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
-
GnupgSignatureArtifactGeneratorFactory
@Inject public GnupgSignatureArtifactGeneratorFactory(ArtifactPredicateFactory artifactPredicateFactory, Map<String, GnupgSignatureArtifactGeneratorFactory.Loader> loaders)
-
-
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.
-