public class ResultConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResultConverter.AttestResult |
Constructor and Description |
---|
ResultConverter() |
Modifier and Type | Method and Description |
---|---|
static int |
getIntFromResult(ResultConverter.AttestResult result)
Converts an Action enumeration into the related integer.
|
static ResultConverter.AttestResult |
getResultFromInt(int i)
Converts a integer into an Action enumeration.
|
static java.lang.String |
getStringFromInt(int i) |
public static ResultConverter.AttestResult getResultFromInt(int i)
i
- Integer linked to an action.public static int getIntFromResult(ResultConverter.AttestResult result)
action
- Enumeration value.public static java.lang.String getStringFromInt(int i)