public static enum Scanner.TriggerType extends java.lang.Enum<Scanner.TriggerType>
Enum Constant and Description |
---|
HARD
Hard trigger.
|
SOFT_ALWAYS
Soft trigger is used for all pending scans and for future reads
issued.
|
SOFT_ONCE
Soft trigger is used only once for a pending read or for the next
issued read.
|
Modifier and Type | Method and Description |
---|---|
static Scanner.TriggerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scanner.TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scanner.TriggerType HARD
public static final Scanner.TriggerType SOFT_ONCE
public static final Scanner.TriggerType SOFT_ALWAYS
public static Scanner.TriggerType[] values()
for (Scanner.TriggerType c : Scanner.TriggerType.values()) System.out.println(c);
public static Scanner.TriggerType 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 null