public class GpgConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GpgConfig.GpgFormat
Config values for gpg.format.
|
Constructor and Description |
---|
GpgConfig(Config config)
Create a new GPG config, which will read configuration from config.
|
Modifier and Type | Method and Description |
---|---|
GpgConfig.GpgFormat |
getKeyFormat()
Retrieves the config value of gpg.format.
|
java.lang.String |
getSigningKey()
Retrieves the config value of user.signingKey.
|
boolean |
isSignCommits()
Retrieves the config value of commit.gpgSign.
|
private final Config config
public GpgConfig(Config config)
config
- the config to read frompublic GpgConfig.GpgFormat getKeyFormat()
GpgConfig.GpgFormat
public java.lang.String getSigningKey()
null
)public boolean isSignCommits()
false
)