Package org.forgerock.am.cts.api.tokens
Enum TokenModifications.TokenModificationType
- java.lang.Object
-
- java.lang.Enum<TokenModifications.TokenModificationType>
-
- org.forgerock.am.cts.api.tokens.TokenModifications.TokenModificationType
-
- All Implemented Interfaces:
Serializable
,Comparable<TokenModifications.TokenModificationType>
- Enclosing class:
- TokenModifications
public static enum TokenModifications.TokenModificationType extends Enum<TokenModifications.TokenModificationType>
Contains equivalent values for the ModificationType values. This allows easily using ModificationType values with switch statements.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenModifications.TokenModificationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TokenModifications.TokenModificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final TokenModifications.TokenModificationType ADD
-
DELETE
public static final TokenModifications.TokenModificationType DELETE
-
REPLACE
public static final TokenModifications.TokenModificationType REPLACE
-
INCREMENT
public static final TokenModifications.TokenModificationType INCREMENT
-
-
Method Detail
-
values
public static TokenModifications.TokenModificationType[] 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 (TokenModifications.TokenModificationType c : TokenModifications.TokenModificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenModifications.TokenModificationType 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
-
-