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