Class PgpSignatoryProvider
- java.lang.Object
-
- org.gradle.plugins.signing.signatory.pgp.PgpSignatoryProvider
-
- All Implemented Interfaces:
SignatoryProvider<PgpSignatory>
public class PgpSignatoryProvider extends Object implements SignatoryProvider<PgpSignatory>
ASignatoryProviderofPgpSignatoryinstances.
-
-
Constructor Summary
Constructors Constructor Description PgpSignatoryProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(SigningExtension settings, Closure closure)Evaluates the given DSL-containing-closure as signatory configuration.PgpSignatorygetDefaultSignatory(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).PgpSignatorygetSignatory(String name)Retrieves the signatory with the given name.PgpSignatorypropertyMissing(String signatoryName)
-
-
-
Method Detail
-
configure
public void configure(SigningExtension settings, Closure closure)
Description copied from interface:SignatoryProviderEvaluates the given DSL-containing-closure as signatory configuration.- Specified by:
configurein interfaceSignatoryProvider<PgpSignatory>- Parameters:
settings- The signing settings for the project the configure is happening for
-
getDefaultSignatory
public PgpSignatory getDefaultSignatory(Project project)
Description copied from interface:SignatoryProviderAttempts 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:
getDefaultSignatoryin interfaceSignatoryProvider<PgpSignatory>- Parameters:
project- The project which the signatory is for- Returns:
- The signatory, or
nullif there is insufficient information available to create one.
-
getSignatory
public PgpSignatory getSignatory(String name)
Description copied from interface:SignatoryProviderRetrieves the signatory with the given name.- Specified by:
getSignatoryin interfaceSignatoryProvider<PgpSignatory>- Parameters:
name- The desired signatory's name.- Returns:
- The signatory with the given name if found, or
nullif no signatory is found with this name.
-
propertyMissing
public PgpSignatory propertyMissing(String signatoryName)
-
-