public enum CreateTokenState extends java.lang.Enum<CreateTokenState>
| Enum Constant and Description |
|---|
LOGIN_CREATE_TOKEN_FAILED |
LOGIN_CREATE_TOKEN_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static CreateTokenState |
getState(java.lang.String result)
Returns the actual state of login create token response
|
de.gematik.ti.healthcardaccess.operation.Result<CreateTokenState> |
validateState(CreateTokenState state)
Validates the passed state
|
static CreateTokenState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateTokenState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateTokenState LOGIN_CREATE_TOKEN_SUCCESS
public static final CreateTokenState LOGIN_CREATE_TOKEN_FAILED
public static CreateTokenState[] values()
for (CreateTokenState c : CreateTokenState.values()) System.out.println(c);
public static CreateTokenState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CreateTokenState getState(java.lang.String result)
result - Stringpublic de.gematik.ti.healthcardaccess.operation.Result<CreateTokenState> validateState(CreateTokenState state)
state - CreateTokenState