public enum EnzymesCLIParams extends Enum<EnzymesCLIParams>
Enum Constant and Description |
---|
CLEAVE_AFTER |
CLEAVE_BEFORE |
IN |
LIST |
NAME |
OUT |
RESTRICTION_AFTER |
RESTRICTION_BEFORE |
RM |
Modifier and Type | Field and Description |
---|---|
String |
description
Explanation for the CLI parameter.
|
boolean |
hasArgument
Boolean indicating whether this command line option needs an argument.
|
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 EnzymesCLIParams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnzymesCLIParams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnzymesCLIParams IN
public static final EnzymesCLIParams LIST
public static final EnzymesCLIParams OUT
public static final EnzymesCLIParams RM
public static final EnzymesCLIParams NAME
public static final EnzymesCLIParams RESTRICTION_BEFORE
public static final EnzymesCLIParams RESTRICTION_AFTER
public static final EnzymesCLIParams CLEAVE_BEFORE
public static final EnzymesCLIParams CLEAVE_AFTER
public final String id
public final String description
public final boolean mandatory
public final boolean hasArgument
public static EnzymesCLIParams[] values()
for (EnzymesCLIParams c : EnzymesCLIParams.values()) System.out.println(c);
public static EnzymesCLIParams 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 © 2018. All rights reserved.