Enum Constant and Description |
---|
CLEANUP
Flag to cleanup logs in staging and old logs in final and backup
|
FORCE_BACKUP
Flag to force a backup of logs in staging
|
FROM_DATE
Flags to filter log files by date specified in log filename
|
HELP
Flag to display the help.
|
ID_PATTERN
Flag to filter by profile ID
|
LIST_PROFILES
Flag to display nodes and profile IDs
|
NODE_PATTERN
Flag to filter by node name specified in profile
|
PROCESS_LOGS
Flag to instruct the Report Manager to process logs
|
PULL
Flag to instruct Logs Manager component to pull logs from nodes
|
REBUILD_SAWMILL
Flag to run a Sawmill command to rebuild the Sawmill DB
|
RUN_NAME
Flag to specify a run name for generated reports
|
SAWMILL_REPORTS
Flag to run a Sawmill command to generate Sawmill reports
|
TO_DATE |
UPDATE_SAWMILL
Flag to run a Sawmill command to update the Sawmill DB
|
VERBOSE
Flag to change the severity level of the messaging in the report.
|
VERSION
Flag to display the version.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMultipleArgs()
Find out if the flag can handle multiple arguments.
|
java.lang.String |
getArgName()
Get the argument name of the flag.
|
java.lang.Object |
getArgType()
Get the argument type of the flag.
|
java.lang.String |
getDescription()
Get the flag description.
|
java.lang.String |
getLongName()
Get the long name of the flag.
|
static org.apache.commons.cli.Options |
getOptions()
Get the command-line options.
|
java.lang.String |
getShortName()
Get the short name of the flag.
|
static Flag |
valueOf(java.lang.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.
|
public static final Flag PULL
public static final Flag PROCESS_LOGS
public static final Flag UPDATE_SAWMILL
public static final Flag REBUILD_SAWMILL
public static final Flag SAWMILL_REPORTS
public static final Flag NODE_PATTERN
public static final Flag ID_PATTERN
public static final Flag RUN_NAME
public static final Flag FORCE_BACKUP
public static final Flag CLEANUP
public static final Flag FROM_DATE
public static final Flag TO_DATE
public static final Flag LIST_PROFILES
public static final Flag HELP
public static final Flag VERBOSE
public static final Flag VERSION
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag 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 static org.apache.commons.cli.Options getOptions()
public boolean allowsMultipleArgs()
public java.lang.String getArgName()
public java.lang.Object getArgType()
public java.lang.String getDescription()
public java.lang.String getLongName()
public java.lang.String getShortName()
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.