public enum ScanClassMode extends java.lang.Enum<ScanClassMode> implements Localized
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the type code for this scan class mode
|
static ScanClassMode |
getTypeForValue(int val)
Returns the ScanClassMode for the given type code.
|
java.lang.String |
toString(java.util.Locale locale) |
static ScanClassMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanClassMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanClassMode Direct
public static final ScanClassMode Driven
public static final ScanClassMode Leased
public static ScanClassMode[] values()
for (ScanClassMode c : ScanClassMode.values()) System.out.println(c);
public static ScanClassMode 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 nullpublic int getIntValue()
public static ScanClassMode getTypeForValue(int val)