public enum RenewTokenState extends java.lang.Enum<RenewTokenState>
| Enum Constant and Description |
|---|
RENEW_TOKEN_SUCCESS |
UNABLE_TO_RENEW |
| Modifier and Type | Method and Description |
|---|---|
static RenewTokenState |
getState(java.lang.String assertion)
Returns the actual state of RenewToken response
|
de.gematik.ti.healthcardaccess.operation.Result<RenewTokenState> |
validateState(RenewTokenState state)
Validates the passed state
|
static RenewTokenState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenewTokenState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenewTokenState RENEW_TOKEN_SUCCESS
public static final RenewTokenState UNABLE_TO_RENEW
public static RenewTokenState[] values()
for (RenewTokenState c : RenewTokenState.values()) System.out.println(c);
public static RenewTokenState 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 RenewTokenState getState(java.lang.String assertion)
assertion - Stringpublic de.gematik.ti.healthcardaccess.operation.Result<RenewTokenState> validateState(RenewTokenState state)
state - RenewTokenState