Enum Reason
- java.lang.Object
-
- java.lang.Enum<Reason>
-
- com.six.timapi.constants.Reason
-
- All Implemented Interfaces:
Serializable,Comparable<Reason>
public enum Reason extends Enum<Reason>
Constants for Reason tag.
Specification: petrol.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CONFIRMDialog confirmed automatically (e.g.CARD_READERCard inserted/swiped/presented to confirm dialog.CODE_NOKCode Check failed.CODE_OKCode Check succesful.CORRCorr button used to confirm/decline dialog.F1Function key 1 used to confirm dialog.F2Function key 2 used to confirm dialog.F3Function key 3 used to confirm dialog.OKOk button used to confirm dialog.OTHER_KEYAny other key used (not Ok, Stop, Corr, F1, F2) to confirm the dialog.PIN_NOKPIN Check failed.PIN_OKPIN Check succesful.STOPStop button used to decline dialog.TIMEOUTNo interaction performed and timeout occured.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final Reason OK
Ok button used to confirm dialog.
Specification: petrol.
-
CORR
public static final Reason CORR
Corr button used to confirm/decline dialog.
Specification: petrol.
-
STOP
public static final Reason STOP
Stop button used to decline dialog.
Specification: petrol.
-
CARD_READER
public static final Reason CARD_READER
Card inserted/swiped/presented to confirm dialog.
Specification: petrol.
-
AUTO_CONFIRM
public static final Reason AUTO_CONFIRM
Dialog confirmed automatically (e.g. with the completion of an input form).
Specification: petrol.
-
TIMEOUT
public static final Reason TIMEOUT
No interaction performed and timeout occured.
Specification: petrol.
-
CODE_OK
public static final Reason CODE_OK
Code Check succesful.
Specification: petrol.
-
CODE_NOK
public static final Reason CODE_NOK
Code Check failed.
Specification: petrol.
-
PIN_OK
public static final Reason PIN_OK
PIN Check succesful.
Specification: petrol.
-
PIN_NOK
public static final Reason PIN_NOK
PIN Check failed.
Specification: petrol.
-
F1
public static final Reason F1
Function key 1 used to confirm dialog.
Specification: petrol.
-
F2
public static final Reason F2
Function key 2 used to confirm dialog.
Specification: petrol.
-
F3
public static final Reason F3
Function key 3 used to confirm dialog.
Specification: petrol.
-
OTHER_KEY
public static final Reason OTHER_KEY
Any other key used (not Ok, Stop, Corr, F1, F2) to confirm the dialog.
Specification: petrol.
-
-
Method Detail
-
values
public static Reason[] 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 (Reason c : Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Reason valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-