Enum Constant and Description |
---|
SPECIFIC_PROJECT_BUILD_TYPES |
SYSTEM_WIDE |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
int |
getOrderNum()
Returns order number of this watch type, the higher order indicates more specific watch type
|
static WatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchType SPECIFIC_PROJECT_BUILD_TYPES
public static final WatchType SYSTEM_WIDE
public static WatchType[] values()
for (WatchType c : WatchType.values()) System.out.println(c);
public static WatchType 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 getOrderNum()
public int getId()