Enum RevocationEvent.RevocationEventState
- java.lang.Object
-
- java.lang.Enum<RevocationEvent.RevocationEventState>
-
- org.hyperledger.aries.api.revocation.RevocationEvent.RevocationEventState
-
- All Implemented Interfaces:
Serializable,Comparable<RevocationEvent.RevocationEventState>
- Enclosing class:
- RevocationEvent
public static enum RevocationEvent.RevocationEventState extends Enum<RevocationEvent.RevocationEventState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RevocationEvent.RevocationEventStatevalueOf(String name)Returns the enum constant of this type with the specified name.static RevocationEvent.RevocationEventState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISSUED
@SerializedName("issued") public static final RevocationEvent.RevocationEventState ISSUED
-
REVOKED
@SerializedName("revoked") public static final RevocationEvent.RevocationEventState REVOKED
-
-
Method Detail
-
values
public static RevocationEvent.RevocationEventState[] 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 (RevocationEvent.RevocationEventState c : RevocationEvent.RevocationEventState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RevocationEvent.RevocationEventState 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
-
-