Enum TerminalAction
- java.lang.Object
-
- java.lang.Enum<TerminalAction>
-
- eu.ccvlab.mapi.core.api.response.result.TerminalAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TerminalAction>
public enum TerminalAction extends java.lang.Enum<TerminalAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY_CLOSED
DEACTIVATED
HARDWARE_PROBLEM
HOST_SESSION
INITIALIZING
LOCAL_MENU
NO_CHANGE
NOT_ENOUGH_MEMORY
OK
OTHER
REPRINT_TICKET
TAMPER
TMS_SESSION
UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Constructor Summary
Constructors Modifier Constructor Description private
TerminalAction(java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TerminalAction
findByValue(java.lang.String value)
java.lang.String
value()
static TerminalAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TerminalAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final TerminalAction OK
-
DEACTIVATED
public static final TerminalAction DEACTIVATED
-
DAY_CLOSED
public static final TerminalAction DAY_CLOSED
-
NO_CHANGE
public static final TerminalAction NO_CHANGE
-
INITIALIZING
public static final TerminalAction INITIALIZING
-
TMS_SESSION
public static final TerminalAction TMS_SESSION
-
HOST_SESSION
public static final TerminalAction HOST_SESSION
-
LOCAL_MENU
public static final TerminalAction LOCAL_MENU
-
TAMPER
public static final TerminalAction TAMPER
-
NOT_ENOUGH_MEMORY
public static final TerminalAction NOT_ENOUGH_MEMORY
-
HARDWARE_PROBLEM
public static final TerminalAction HARDWARE_PROBLEM
-
REPRINT_TICKET
public static final TerminalAction REPRINT_TICKET
-
OTHER
public static final TerminalAction OTHER
-
UNKNOWN
public static final TerminalAction UNKNOWN
-
-
Method Detail
-
values
public static TerminalAction[] 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 (TerminalAction c : TerminalAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TerminalAction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
findByValue
public static TerminalAction findByValue(java.lang.String value)
-
-