Class PgpSignatoryProvider
java.lang.Object
org.gradle.plugins.signing.signatory.pgp.PgpSignatoryProvider
- All Implemented Interfaces:
SignatoryProvider<PgpSignatory>
A
SignatoryProvider
of PgpSignatory
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(SigningExtension settings, Closure closure) Evaluates the given DSL-containing-closure as signatory configuration.getDefaultSignatory
(Project project) Attempts to create a signatory for the project that will be used everywhere something is to be signed and an explicit signatory has not been set (for the task/operation).getSignatory
(String name) Retrieves the signatory with the given name.propertyMissing
(String signatoryName)
-
Constructor Details
-
PgpSignatoryProvider
public PgpSignatoryProvider()
-
-
Method Details
-
configure
Description copied from interface:SignatoryProvider
Evaluates the given DSL-containing-closure as signatory configuration.- Specified by:
configure
in interfaceSignatoryProvider<PgpSignatory>
- Parameters:
settings
- The signing settings for the project the configure is happening for
-
getDefaultSignatory
Description copied from interface:SignatoryProvider
Attempts to create a signatory for the project that will be used everywhere something is to be signed and an explicit signatory has not been set (for the task/operation).
This may be called multiple times and the implementor is free to return a different instance if the project state has changed in someway that influences the default signatory.
- Specified by:
getDefaultSignatory
in interfaceSignatoryProvider<PgpSignatory>
- Parameters:
project
- The project which the signatory is for- Returns:
- The signatory, or
null
if there is insufficient information available to create one.
-
getSignatory
Description copied from interface:SignatoryProvider
Retrieves the signatory with the given name.- Specified by:
getSignatory
in interfaceSignatoryProvider<PgpSignatory>
- Parameters:
name
- The desired signatory's name.- Returns:
- The signatory with the given name if found, or
null
if no signatory is found with this name.
-
propertyMissing
-