public static enum GpgConfig.GpgFormat extends Enum<GpgConfig.GpgFormat> implements Config.ConfigEnum
| Enum Constant and Description | 
|---|
OPENPGP
Value for openpgp 
 | 
X509
Value for x509 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
matchConfigValue(String s)
Checks if the given string matches with enum value. 
 | 
String | 
toConfigValue()
Converts enumeration value into a string to be save in config. 
 | 
static GpgConfig.GpgFormat | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static GpgConfig.GpgFormat[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final GpgConfig.GpgFormat OPENPGP
public static final GpgConfig.GpgFormat X509
public static GpgConfig.GpgFormat[] values()
for (GpgConfig.GpgFormat c : GpgConfig.GpgFormat.values()) System.out.println(c);
public static GpgConfig.GpgFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean matchConfigValue(String s)
Config.ConfigEnummatchConfigValue in interface Config.ConfigEnums - the string to matchpublic String toConfigValue()
Config.ConfigEnumtoConfigValue in interface Config.ConfigEnumCopyright © 2021 Eclipse JGit Project. All rights reserved.