public enum Options extends Enum<Options>
Enum Constant and Description |
---|
INSTALLATIONS |
JAR |
JVM_ARGUMENTS |
QUICKSTART_OPTIONS |
START_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
File |
asFile() |
Integer |
asInteger(int defaultValue) |
List<String> |
asList() |
String |
asPath() |
String |
asString() |
String |
getName() |
boolean |
isNotSpecified() |
boolean |
isSpecified() |
static Options |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options JAR
public static final Options JVM_ARGUMENTS
public static final Options QUICKSTART_OPTIONS
public static final Options INSTALLATIONS
public static final Options START_TIMEOUT
public static Options[] values()
for (Options c : Options.values()) System.out.println(c);
public static Options 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 getName()
public boolean isSpecified()
public boolean isNotSpecified()
public String asString()
public String asPath()
public File asFile()
public Integer asInteger(int defaultValue)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.