public enum XmlInstrumentOptions extends java.lang.Enum<XmlInstrumentOptions>
| Enum Constant and Description |
|---|
DEBUG_FLAG
True means debug will be on and more information will be outputed to the command line.
|
FILE_PATH
The path to the custom extension xml file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the field description.
|
java.lang.String |
getFlagName()
Gets the field flagName.
|
boolean |
isArgRequired()
Gets the field required.
|
abstract void |
validateAndAddParameter(XmlInstrumentParams instrument,
java.lang.String[] value,
java.lang.String tagName)
Takes the input value and sets it on the instrument.
|
static XmlInstrumentOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XmlInstrumentOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlInstrumentOptions FILE_PATH
public static final XmlInstrumentOptions DEBUG_FLAG
public static XmlInstrumentOptions[] values()
for (XmlInstrumentOptions c : XmlInstrumentOptions.values()) System.out.println(c);
public static XmlInstrumentOptions valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract void validateAndAddParameter(XmlInstrumentParams instrument, java.lang.String[] value, java.lang.String tagName)
instrument - Where the values from the command line should be stored.value - The current value.tagName - The name to use in exceptions.public java.lang.String getFlagName()
public boolean isArgRequired()
public java.lang.String getDescription()