|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Flag>
gov.nasa.pds.transform.commandline.options.Flag
public enum Flag
Class that holds the command-line option flags.
Enum Constant Summary | |
---|---|
ALL
|
|
CONFIG
Flag to specify a configuration file to configure the tool behavior. |
|
DATAFILE
Flag to specify the data file(s) to transform. |
|
FORMAT
|
|
HELP
Flag to display the help. |
|
INDEX
Flag to specify the index of the image or table to transform. |
|
LOCAL
Flag that disables recursion when traversing a target directory. |
|
OBJECTS
Flag to display a list of images and tables found within a given label. |
|
OUTPUTDIR
|
|
REGEXP
Flag to specify file patterns to look for when validating a target directory. |
|
REPORT
Flag to specify a report file name. |
|
TARGET
Flag to explicitly specify the target to validate. |
|
VERBOSE
Flag to specify the severity level and above to include in the report. |
|
VERSION
Displays the tool version. |
Method Summary | |
---|---|
boolean |
allowsMultipleArgs()
Find out if the flag can handle multiple arguments. |
String |
getArgName()
Get the argument name of the flag. |
Object |
getArgType()
Get the argument type of the flag. |
String |
getDescription()
Get the flag description. |
String |
getLongName()
Get the long name of the flag. |
static org.apache.commons.cli.Options |
getOptions()
Get the command-line options. |
String |
getShortName()
Get the short name of the flag. |
static Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Flag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Flag CONFIG
public static final Flag REGEXP
public static final Flag HELP
public static final Flag REPORT
public static final Flag TARGET
public static final Flag OUTPUTDIR
public static final Flag FORMAT
public static final Flag VERBOSE
public static final Flag LOCAL
public static final Flag VERSION
public static final Flag INDEX
public static final Flag DATAFILE
public static final Flag ALL
public static final Flag OBJECTS
Method Detail |
---|
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getShortName()
public String getLongName()
public String getArgName()
public boolean allowsMultipleArgs()
public Object getArgType()
public String getDescription()
public static org.apache.commons.cli.Options getOptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |