public enum Flag extends Enum<Flag>
Enum Constant and Description |
---|
ALL
Flag to run all components of index.
|
CLEAN
Flag to turn OFF removal of all directories from previous Search Core
execution.
|
CONFIG_HOME
Flag to specify a product class configuration directory.
|
DEBUG
Flag to run in debug mode.
|
EXTRACTOR
Flag to run the Registry Extractor component.
|
HELP
Flag to display the help.
|
LOG
Flag to output the logging to a file.
|
MAX
Flag to specify query max for registry.
|
POST
Flag to post the index to the Search Service.
|
PRIMARY
Flag to specify at least one Registry URL.
|
PROPERTIES
Flag to specify a configuration file.
|
SEARCH_HOME
Flag to specify Search Home.
|
SECONDARY
Flag to specify at least one Registry URL.
|
SERVICE_URL
Flag to generate a Solr Index.
|
SOLR
Flag to generate a Solr Index.
|
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.
|
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.
|
public static final Flag ALL
public static final Flag CONFIG_HOME
public static final Flag CLEAN
public static final Flag DEBUG
public static final Flag EXTRACTOR
public static final Flag HELP
public static final Flag LOG
public static final Flag MAX
public static final Flag POST
public static final Flag PROPERTIES
public static final Flag PRIMARY
public static final Flag SECONDARY
public static final Flag SEARCH_HOME
public static final Flag SERVICE_URL
public static final Flag SOLR
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(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 static org.apache.commons.cli.Options getOptions()
public boolean allowsMultipleArgs()
public String getArgName()
public Object getArgType()
public String getDescription()
public String getLongName()
public String getShortName()
Copyright © 2010–2018 Planetary Data System. All rights reserved.