Package org.eclipse.jgit.lib
Enum GpgSignatureVerifier.TrustLevel
- java.lang.Object
-
- java.lang.Enum<GpgSignatureVerifier.TrustLevel>
-
- org.eclipse.jgit.lib.GpgSignatureVerifier.TrustLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<GpgSignatureVerifier.TrustLevel>
- Enclosing interface:
- GpgSignatureVerifier
public static enum GpgSignatureVerifier.TrustLevel extends Enum<GpgSignatureVerifier.TrustLevel>
The owner's trust in a public key.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GpgSignatureVerifier.TrustLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static GpgSignatureVerifier.TrustLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final GpgSignatureVerifier.TrustLevel UNKNOWN
-
NEVER
public static final GpgSignatureVerifier.TrustLevel NEVER
-
MARGINAL
public static final GpgSignatureVerifier.TrustLevel MARGINAL
-
FULL
public static final GpgSignatureVerifier.TrustLevel FULL
-
ULTIMATE
public static final GpgSignatureVerifier.TrustLevel ULTIMATE
-
-
Method Detail
-
values
public static GpgSignatureVerifier.TrustLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GpgSignatureVerifier.TrustLevel c : GpgSignatureVerifier.TrustLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GpgSignatureVerifier.TrustLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-