Enum CertificateRestResponseV2.RevocationReasonEnum
- java.lang.Object
-
- java.lang.Enum<CertificateRestResponseV2.RevocationReasonEnum>
-
- de.trustable.ca3s.core.service.dto.ejbca.CertificateRestResponseV2.RevocationReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateRestResponseV2.RevocationReasonEnum>
- Enclosing class:
- CertificateRestResponseV2
public static enum CertificateRestResponseV2.RevocationReasonEnum extends Enum<CertificateRestResponseV2.RevocationReasonEnum>
Revocation reson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateRestResponseV2.RevocationReasonEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateRestResponseV2.RevocationReasonEnumfromValue(Integer value)IntegergetValue()StringtoString()static CertificateRestResponseV2.RevocationReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateRestResponseV2.RevocationReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER_MINUS_1
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_MINUS_1
-
NUMBER_0
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_0
-
NUMBER_1
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_1
-
NUMBER_2
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_2
-
NUMBER_3
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_3
-
NUMBER_4
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_4
-
NUMBER_5
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_5
-
NUMBER_6
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_6
-
NUMBER_8
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_8
-
NUMBER_9
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_9
-
NUMBER_10
public static final CertificateRestResponseV2.RevocationReasonEnum NUMBER_10
-
-
Method Detail
-
values
public static CertificateRestResponseV2.RevocationReasonEnum[] 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 (CertificateRestResponseV2.RevocationReasonEnum c : CertificateRestResponseV2.RevocationReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateRestResponseV2.RevocationReasonEnum 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
-
getValue
public Integer getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CertificateRestResponseV2.RevocationReasonEnum>
-
fromValue
public static CertificateRestResponseV2.RevocationReasonEnum fromValue(Integer value)
-
-