Package org.iqtig.tpacker.params
Enum TPackerCliParam
- java.lang.Object
-
- java.lang.Enum<TPackerCliParam>
-
- org.iqtig.tpacker.params.TPackerCliParam
-
- All Implemented Interfaces:
Serializable
,Comparable<TPackerCliParam>
,org.iqtig.packer.shared.cli.CliParam
public enum TPackerCliParam extends Enum<TPackerCliParam> implements org.iqtig.packer.shared.cli.CliParam
Kommandozeilenparameter für die TPacker-Anwendung.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHelpText()
String
getLongParam()
String
getShortParam()
static TPackerCliParam
valueOf(String name)
Returns the enum constant of this type with the specified name.static TPackerCliParam[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.static List<TPackerCliParam>
valuesAsList()
-
-
-
Enum Constant Detail
-
HELP
public static final TPackerCliParam HELP
-
ZIP
public static final TPackerCliParam ZIP
-
UNZIP
public static final TPackerCliParam UNZIP
-
ENCRYPT
public static final TPackerCliParam ENCRYPT
-
DECRYPT
public static final TPackerCliParam DECRYPT
-
INPUT_FILES
public static final TPackerCliParam INPUT_FILES
-
OUTPUT
public static final TPackerCliParam OUTPUT
-
PASSWORD
public static final TPackerCliParam PASSWORD
-
CHARACTERSET_PW_DECRYPT
public static final TPackerCliParam CHARACTERSET_PW_DECRYPT
-
TIMESTAMP
public static final TPackerCliParam TIMESTAMP
-
UNSAFE
public static final TPackerCliParam UNSAFE
-
-
Method Detail
-
values
public static TPackerCliParam[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TPackerCliParam c : TPackerCliParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPackerCliParam valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valuesAsList
public static List<TPackerCliParam> valuesAsList()
-
getShortParam
public String getShortParam()
- Specified by:
getShortParam
in interfaceorg.iqtig.packer.shared.cli.CliParam
-
getLongParam
public String getLongParam()
- Specified by:
getLongParam
in interfaceorg.iqtig.packer.shared.cli.CliParam
-
getHelpText
public String getHelpText()
- Specified by:
getHelpText
in interfaceorg.iqtig.packer.shared.cli.CliParam
-
-