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
Nested Classes -
Field Summary
FieldsFields inherited from interface org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory
ARTIFACT_GENERATOR_ID -
Constructor Summary
ConstructorsConstructorDescriptionGnupgSignatureArtifactGeneratorFactory(ArtifactPredicateFactory artifactPredicateFactory, Map<String, GnupgSignatureArtifactGeneratorFactory.Loader> loaders) -
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
-
GnupgSignatureArtifactGeneratorFactory
@Inject public GnupgSignatureArtifactGeneratorFactory(ArtifactPredicateFactory artifactPredicateFactory, Map<String, GnupgSignatureArtifactGeneratorFactory.Loader> loaders)
-
-
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.
-