Enum RevocationRegistryState
- java.lang.Object
-
- java.lang.Enum<RevocationRegistryState>
-
- org.hyperledger.aries.api.revocation.RevocationRegistryState
-
- All Implemented Interfaces:
Serializable,Comparable<RevocationRegistryState>
public enum RevocationRegistryState extends Enum<RevocationRegistryState>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()StringtoString()static RevocationRegistryStatevalueOf(String name)Returns the enum constant of this type with the specified name.static RevocationRegistryState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
@SerializedName("init") public static final RevocationRegistryState INIT
-
GENERATED
@SerializedName("generated") public static final RevocationRegistryState GENERATED
-
PUBLISHED
@SerializedName("published") public static final RevocationRegistryState PUBLISHED
-
STAGED
@SerializedName("staged") public static final RevocationRegistryState STAGED
-
ACTIVE
@SerializedName("active") public static final RevocationRegistryState ACTIVE
-
FULL
@SerializedName("full") public static final RevocationRegistryState FULL
-
-
Method Detail
-
values
public static RevocationRegistryState[] 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 (RevocationRegistryState c : RevocationRegistryState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RevocationRegistryState 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<RevocationRegistryState>
-
getValue
public String getValue()
-
-