public enum NfdDpeDataAvailableState extends java.lang.Enum<NfdDpeDataAvailableState>
Functionalities to check if NFD data available
| Enum Constant and Description |
|---|
DATA_AVAILABLE |
NO_DATA_AVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static NfdDpeDataAvailableState |
getDataAvailableState(de.gematik.ti.healthcardaccess.result.Response response)
Returns whether current NFD data is available
|
de.gematik.ti.healthcardaccess.operation.Result<NfdDpeDataAvailableState> |
validateDataAvailableState(NfdDpeDataAvailableState state)
validates the determined state
|
static NfdDpeDataAvailableState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NfdDpeDataAvailableState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NfdDpeDataAvailableState DATA_AVAILABLE
public static final NfdDpeDataAvailableState NO_DATA_AVAILABLE
public static NfdDpeDataAvailableState[] values()
for (NfdDpeDataAvailableState c : NfdDpeDataAvailableState.values()) System.out.println(c);
public static NfdDpeDataAvailableState 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 NfdDpeDataAvailableState getDataAvailableState(de.gematik.ti.healthcardaccess.result.Response response)
Returns whether current NFD data is available
response - Response from cardpublic de.gematik.ti.healthcardaccess.operation.Result<NfdDpeDataAvailableState> validateDataAvailableState(NfdDpeDataAvailableState state)
validates the determined state
state - determined state