public enum MzidCLIParams extends Enum<MzidCLIParams>
| Enum Constant and Description |
|---|
CONTACT_ADDRESS |
CONTACT_EMAIL |
CONTACT_FIRST_NAME |
CONTACT_LAST_NAME |
CONTACT_URL |
GZIP |
INCLUDE_PROTEIN_SEQUENCES |
ORGANIZATION_ADDRESS |
ORGANIZATION_EMAIL |
ORGANIZATION_NAME |
ORGANIZATION_URL |
OUTPUT_FILE |
PSDB_FILE |
VERSION |
| Modifier and Type | Field and Description |
|---|---|
String |
description
Explanation for the CLI parameter.
|
boolean |
hasArgument
Indicates whether user input is expected.
|
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 MzidCLIParams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MzidCLIParams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MzidCLIParams PSDB_FILE
public static final MzidCLIParams CONTACT_FIRST_NAME
public static final MzidCLIParams CONTACT_LAST_NAME
public static final MzidCLIParams CONTACT_EMAIL
public static final MzidCLIParams CONTACT_ADDRESS
public static final MzidCLIParams CONTACT_URL
public static final MzidCLIParams ORGANIZATION_NAME
public static final MzidCLIParams ORGANIZATION_EMAIL
public static final MzidCLIParams ORGANIZATION_ADDRESS
public static final MzidCLIParams ORGANIZATION_URL
public static final MzidCLIParams INCLUDE_PROTEIN_SEQUENCES
public static final MzidCLIParams VERSION
public static final MzidCLIParams OUTPUT_FILE
public static final MzidCLIParams GZIP
public final String id
public final String description
public final boolean mandatory
public final boolean hasArgument
public static MzidCLIParams[] values()
for (MzidCLIParams c : MzidCLIParams.values()) System.out.println(c);
public static MzidCLIParams 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()
Copyright © 2021. All rights reserved.