Package com.six.timapi.constants
Enum SecurityStatus
- java.lang.Object
-
- java.lang.Enum<SecurityStatus>
-
- com.six.timapi.constants.SecurityStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SecurityStatus>
public enum SecurityStatus extends Enum<SecurityStatus>
Constants for SecurityStatus tag.
Specification: retail.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecurityStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final SecurityStatus DISABLED
The security has actively been disabled (i.e. some form of test mode).
Specification: retail.
-
ACTIVE
public static final SecurityStatus ACTIVE
The security is working correctly.
Specification: retail.
-
TAMPERED
public static final SecurityStatus TAMPERED
The security system is in tampered state. Key lost.
Specification: retail.
-
-
Method Detail
-
values
public static SecurityStatus[] 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 (SecurityStatus c : SecurityStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityStatus 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
-
-