Enum DynamicClient.Status
- java.lang.Object
-
- java.lang.Enum<DynamicClient.Status>
-
- com.pingidentity.sdk.oauth20.registration.DynamicClient.Status
-
- All Implemented Interfaces:
Serializable,Comparable<DynamicClient.Status>
- Enclosing interface:
- DynamicClient
public static enum DynamicClient.Status extends Enum<DynamicClient.Status>
Status codes to handle error conditions with dynamically registered clients.- Since:
- 9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILUREUsed to return a failure status.INVALID_KEYUsed to return an invalid key status.MULTI_VALUE_NOT_ALLOWEDUsed to indicate a multi-value attribute is not allowed.SUCCESSUsed to return a success status.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DynamicClient.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static DynamicClient.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final DynamicClient.Status SUCCESS
Used to return a success status.
-
FAILURE
public static final DynamicClient.Status FAILURE
Used to return a failure status.
-
INVALID_KEY
public static final DynamicClient.Status INVALID_KEY
Used to return an invalid key status.
-
MULTI_VALUE_NOT_ALLOWED
public static final DynamicClient.Status MULTI_VALUE_NOT_ALLOWED
Used to indicate a multi-value attribute is not allowed.
-
-
Method Detail
-
values
public static DynamicClient.Status[] 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 (DynamicClient.Status c : DynamicClient.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DynamicClient.Status 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
-
-