public enum TabletState extends Enum<TabletState>
Enum Constant and Description |
---|
ASSIGNED |
ASSIGNED_TO_DEAD_SERVER |
HOSTED |
UNASSIGNED |
Modifier and Type | Method and Description |
---|---|
static TabletState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TabletState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TabletState UNASSIGNED
public static final TabletState ASSIGNED
public static final TabletState HOSTED
public static final TabletState ASSIGNED_TO_DEAD_SERVER
public static TabletState[] values()
for (TabletState c : TabletState.values()) System.out.println(c);
public static TabletState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.