public enum Commands extends Enum<Commands>
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
static Commands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands UPLOAD
public static final Commands INSTALL
public static final Commands REPLICATE
public static Commands[] values()
for (Commands c : Commands.values()) System.out.println(c);
public static Commands 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 nullpublic String getCommand()
Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.