org.rhq.core.pc.standaloneContainer
Enum Command
java.lang.Object
java.lang.Enum<Command>
org.rhq.core.pc.standaloneContainer.Command
- All Implemented Interfaces:
- Serializable, Comparable<Command>
public enum Command
- extends Enum<Command>
List of possible commands of the standalone container
- Author:
- Heiko W. Rupp
ASCAN
public static final Command ASCAN
AVAIL
public static final Command AVAIL
CHILDREN
public static final Command CHILDREN
DISCOVER
public static final Command DISCOVER
FIND
public static final Command FIND
HELP
public static final Command HELP
INVOKE
public static final Command INVOKE
MEASURE
public static final Command MEASURE
NATIVE
public static final Command NATIVE
QUIT
public static final Command QUIT
RESOURCES
public static final Command RESOURCES
SET
public static final Command SET
STDIN
public static final Command STDIN
WAIT
public static final Command WAIT
P_CONFIG
public static final Command P_CONFIG
R_CONFIG
public static final Command R_CONFIG
SR_CONFIG
public static final Command SR_CONFIG
SP_CONFIG
public static final Command SP_CONFIG
values
public static Command[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Command c : Command.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Command valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getArgs
public String getArgs()
getHelp
public String getHelp()
getMinArgs
public int getMinArgs()
getAbbrev
public String getAbbrev()
get
public static Command get(String s)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.