Package org.apache.ofbiz.base.start
Enum StartupCommandUtil.StartupOption
- java.lang.Object
-
- java.lang.Enum<StartupCommandUtil.StartupOption>
-
- org.apache.ofbiz.base.start.StartupCommandUtil.StartupOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StartupCommandUtil.StartupOption>
- Enclosing class:
- StartupCommandUtil
public static enum StartupCommandUtil.StartupOption extends java.lang.Enum<StartupCommandUtil.StartupOption>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static StartupCommandUtil.StartupOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StartupCommandUtil.StartupOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HELP
public static final StartupCommandUtil.StartupOption HELP
-
LOAD_DATA
public static final StartupCommandUtil.StartupOption LOAD_DATA
-
PORTOFFSET
public static final StartupCommandUtil.StartupOption PORTOFFSET
-
SHUTDOWN
public static final StartupCommandUtil.StartupOption SHUTDOWN
-
START
public static final StartupCommandUtil.StartupOption START
-
STATUS
public static final StartupCommandUtil.StartupOption STATUS
-
TEST
public static final StartupCommandUtil.StartupOption TEST
-
-
Method Detail
-
values
public static StartupCommandUtil.StartupOption[] 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 (StartupCommandUtil.StartupOption c : StartupCommandUtil.StartupOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StartupCommandUtil.StartupOption valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
-