public enum TugAction extends Enum<TugAction>
| Enum Constant and Description |
|---|
PULL
Remove resources from the cluster.
|
PUSH
Add resources to the cluster.
|
REPUSH
Remove then add resources to the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static TugAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TugAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TugAction PULL
public static final TugAction PUSH
public static final TugAction REPUSH
public static TugAction[] values()
for (TugAction c : TugAction.values()) System.out.println(c);
public static TugAction 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 © 2018. All rights reserved.