Package org.kohsuke.github
Enum GHVerification.Reason
- java.lang.Object
-
- java.lang.Enum<GHVerification.Reason>
-
- org.kohsuke.github.GHVerification.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<GHVerification.Reason>
- Enclosing class:
- GHVerification
public static enum GHVerification.Reason extends Enum<GHVerification.Reason>
The possible values for reason in verification object from github.- Author:
- Sourabh Sarvotham Parkala
- See Also:
- List of possible reason values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_EMAIL
The bad email.EXPIRED_KEY
The expired key.GPGVERIFY_ERROR
The gpgverify error.GPGVERIFY_UNAVAILABLE
The gpgverify unavailable.INVALID
The invalid.MALFORMED_SIGNATURE
The malformed signature.NO_USER
The no user.NOT_SIGNING_KEY
The not signing key.UNKNOWN_KEY
The unknown key.UNKNOWN_SIGNATURE_TYPE
The unknown signature type.UNSIGNED
The unsigned.UNVERIFIED_EMAIL
The unverified email.VALID
The valid.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHVerification.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static GHVerification.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPIRED_KEY
public static final GHVerification.Reason EXPIRED_KEY
The expired key.
-
NOT_SIGNING_KEY
public static final GHVerification.Reason NOT_SIGNING_KEY
The not signing key.
-
GPGVERIFY_ERROR
public static final GHVerification.Reason GPGVERIFY_ERROR
The gpgverify error.
-
GPGVERIFY_UNAVAILABLE
public static final GHVerification.Reason GPGVERIFY_UNAVAILABLE
The gpgverify unavailable.
-
UNSIGNED
public static final GHVerification.Reason UNSIGNED
The unsigned.
-
UNKNOWN_SIGNATURE_TYPE
public static final GHVerification.Reason UNKNOWN_SIGNATURE_TYPE
The unknown signature type.
-
NO_USER
public static final GHVerification.Reason NO_USER
The no user.
-
UNVERIFIED_EMAIL
public static final GHVerification.Reason UNVERIFIED_EMAIL
The unverified email.
-
BAD_EMAIL
public static final GHVerification.Reason BAD_EMAIL
The bad email.
-
UNKNOWN_KEY
public static final GHVerification.Reason UNKNOWN_KEY
The unknown key.
-
MALFORMED_SIGNATURE
public static final GHVerification.Reason MALFORMED_SIGNATURE
The malformed signature.
-
INVALID
public static final GHVerification.Reason INVALID
The invalid.
-
VALID
public static final GHVerification.Reason VALID
The valid.
-
-
Method Detail
-
values
public static GHVerification.Reason[] 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 (GHVerification.Reason c : GHVerification.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GHVerification.Reason 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
-
-