public enum PathSettingsCLIParams extends Enum<PathSettingsCLIParams>
| Enum Constant and Description |
|---|
ALL |
LOG_FOLDER |
USE_LOG_FOLDER |
| Modifier and Type | Field and Description |
|---|---|
String |
description
The description of the command line option.
|
String |
id
The id of the command line option.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
createOptionsCLI(org.apache.commons.cli.Options aOptions)
Creates the options for the command line interface based on the possible
values.
|
static ArrayList<String> |
getOptionIDs()
Returns the list of supported command line options.
|
static String |
getOptionsAsString()
Returns the options as a string.
|
static PathSettingsCLIParams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathSettingsCLIParams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathSettingsCLIParams ALL
public static final PathSettingsCLIParams LOG_FOLDER
public static final PathSettingsCLIParams USE_LOG_FOLDER
public String id
public String description
public static PathSettingsCLIParams[] values()
for (PathSettingsCLIParams c : PathSettingsCLIParams.values()) System.out.println(c);
public static PathSettingsCLIParams 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 void createOptionsCLI(org.apache.commons.cli.Options aOptions)
aOptions - the options object where the options will be addedpublic static ArrayList<String> getOptionIDs()
public static String getOptionsAsString()
Copyright © 2021. All rights reserved.