Package org.iqtig.xpacker.params
Enum XPackerCliParam
- java.lang.Object
-
- java.lang.Enum<XPackerCliParam>
-
- org.iqtig.xpacker.params.XPackerCliParam
-
- All Implemented Interfaces:
Serializable,Comparable<XPackerCliParam>,org.iqtig.packer.shared.cli.CliParam
public enum XPackerCliParam extends Enum<XPackerCliParam> implements org.iqtig.packer.shared.cli.CliParam
Kommandozeilenparameter für die XPacker-Anwendung.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_KEYDECRYPTENCRYPTENCRYPTED_KEY_TAGGENERATE_KEYGET_MODULUSHELPINPUT_FILEKEY_NAMESOUTPUT_FILETAGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHelpText()StringgetLongParam()StringgetShortParam()static XPackerCliParamvalueOf(String name)Returns the enum constant of this type with the specified name.static XPackerCliParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.static List<XPackerCliParam>valuesAsList()
-
-
-
Enum Constant Detail
-
HELP
public static final XPackerCliParam HELP
-
ENCRYPT
public static final XPackerCliParam ENCRYPT
-
DECRYPT
public static final XPackerCliParam DECRYPT
-
GENERATE_KEY
public static final XPackerCliParam GENERATE_KEY
-
GET_MODULUS
public static final XPackerCliParam GET_MODULUS
-
CHECK_KEY
public static final XPackerCliParam CHECK_KEY
-
INPUT_FILE
public static final XPackerCliParam INPUT_FILE
-
OUTPUT_FILE
public static final XPackerCliParam OUTPUT_FILE
-
KEY_NAMES
public static final XPackerCliParam KEY_NAMES
-
TAGS
public static final XPackerCliParam TAGS
-
ENCRYPTED_KEY_TAG
public static final XPackerCliParam ENCRYPTED_KEY_TAG
-
-
Method Detail
-
values
public static XPackerCliParam[] 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 (XPackerCliParam c : XPackerCliParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XPackerCliParam 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<XPackerCliParam> valuesAsList()
-
getShortParam
public String getShortParam()
- Specified by:
getShortParamin interfaceorg.iqtig.packer.shared.cli.CliParam
-
getLongParam
public String getLongParam()
- Specified by:
getLongParamin interfaceorg.iqtig.packer.shared.cli.CliParam
-
getHelpText
public String getHelpText()
- Specified by:
getHelpTextin interfaceorg.iqtig.packer.shared.cli.CliParam
-
-