public class PgpSignatoryProvider extends Object implements SignatoryProvider<PgpSignatory>
SignatoryProvider of PgpSignatory instances.| Constructor and Description | 
|---|
| PgpSignatoryProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(SigningExtension settings,
         Closure closure)Evaluates the given DSL-containing-closure as signatory configuration. | 
| PgpSignatory | 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). | 
| PgpSignatory | getSignatory(String name)Retrieves the signatory with the given name. | 
| PgpSignatory | propertyMissing(String signatoryName) | 
public void configure(SigningExtension settings, Closure closure)
SignatoryProviderconfigure in interface SignatoryProvider<PgpSignatory>settings - The signing settings for the project the configure is happening forpublic PgpSignatory getDefaultSignatory(Project project)
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.
getDefaultSignatory in interface SignatoryProvider<PgpSignatory>project - The project which the signatory is fornull if there is insufficient information available to create one.public PgpSignatory getSignatory(String name)
SignatoryProvidergetSignatory in interface SignatoryProvider<PgpSignatory>name - The desired signatory's name.null if no signatory is found with this name.public PgpSignatory propertyMissing(String signatoryName)