static enum BalanceAction.Type extends Enum<BalanceAction.Type>
Enum Constant and Description |
---|
ASSIGN_REGION |
MOVE_REGION |
NULL |
SWAP_REGIONS |
Modifier and Type | Method and Description |
---|---|
static BalanceAction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BalanceAction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalanceAction.Type ASSIGN_REGION
public static final BalanceAction.Type MOVE_REGION
public static final BalanceAction.Type SWAP_REGIONS
public static final BalanceAction.Type NULL
public static BalanceAction.Type[] values()
for (BalanceAction.Type c : BalanceAction.Type.values()) System.out.println(c);
public static BalanceAction.Type 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 © 2007–2020 The Apache Software Foundation. All rights reserved.