public enum ReportCLIParams extends Enum<ReportCLIParams>
| Enum Constant and Description |
|---|
DOCUMENTATION_TYPE |
EXPORT_FOLDER |
EXPORT_PREFIX |
GZIP |
PSDB_FILE |
REPORT_TYPE |
| Modifier and Type | Field and Description |
|---|---|
String |
description
Explanation for the CLI parameter.
|
boolean |
hasArg
Boolean indicating whether the parameter has arguments.
|
String |
id
Short Id for the CLI parameter.
|
boolean |
mandatory
Boolean indicating whether the parameter is mandatory.
|
| 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 String |
getOptionsAsString()
Returns the options as a string.
|
static String |
getOutputOptionsAsString()
Returns the output options as a string.
|
static ReportCLIParams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportCLIParams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportCLIParams PSDB_FILE
public static final ReportCLIParams EXPORT_FOLDER
public static final ReportCLIParams EXPORT_PREFIX
public static final ReportCLIParams REPORT_TYPE
public static final ReportCLIParams DOCUMENTATION_TYPE
public static final ReportCLIParams GZIP
public final String id
public final String description
public final boolean mandatory
public final boolean hasArg
public static ReportCLIParams[] values()
for (ReportCLIParams c : ReportCLIParams.values()) System.out.println(c);
public static ReportCLIParams 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 String getOptionsAsString()
public static String getOutputOptionsAsString()
Copyright © 2021. All rights reserved.