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