Package org.corpus_tools.pepper.cli
Enum OSGiConsole.COMMAND
- java.lang.Object
-
- java.lang.Enum<OSGiConsole.COMMAND>
-
- org.corpus_tools.pepper.cli.OSGiConsole.COMMAND
-
- All Implemented Interfaces:
Serializable,Comparable<OSGiConsole.COMMAND>
- Enclosing class:
- OSGiConsole
public static enum OSGiConsole.COMMAND extends Enum<OSGiConsole.COMMAND>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbbreviation()StringgetDescription()StringgetName()StringgetParameters()static OSGiConsole.COMMANDvalueOf(String name)Returns the enum constant of this type with the specified name.static OSGiConsole.COMMAND[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SS
public static final OSGiConsole.COMMAND SS
-
LS
public static final OSGiConsole.COMMAND LS
-
INSTALL
public static final OSGiConsole.COMMAND INSTALL
-
UNINSTALL
public static final OSGiConsole.COMMAND UNINSTALL
-
START
public static final OSGiConsole.COMMAND START
-
STOP
public static final OSGiConsole.COMMAND STOP
-
INSTALL_START
public static final OSGiConsole.COMMAND INSTALL_START
-
UPDATE
public static final OSGiConsole.COMMAND UPDATE
-
REMOVE
public static final OSGiConsole.COMMAND REMOVE
-
HELP
public static final OSGiConsole.COMMAND HELP
-
EXIT
public static final OSGiConsole.COMMAND EXIT
-
-
Method Detail
-
values
public static OSGiConsole.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 (OSGiConsole.COMMAND c : OSGiConsole.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 OSGiConsole.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 nameNullPointerException- if the argument is null
-
getName
public String getName()
-
getAbbreviation
public String getAbbreviation()
-
getParameters
public String getParameters()
-
getDescription
public String getDescription()
-
-