Enum CommandLineOptions
- java.lang.Object
-
- java.lang.Enum<CommandLineOptions>
-
- net.adoptopenjdk.icedteaweb.commandline.CommandLineOptions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CommandLineOptions>
public enum CommandLineOptions extends java.lang.Enum<CommandLineOptions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUTARGBROWSERCHECKCLEARCACHECODEBASEDEFAULTFILEDETAILSFILEGETHEADLESSHELP1HELP2INFOJNLPLICENSELISTLISTCACHEIDSNOFORKNOHEADERSNOSECNOSPLASHNOUPDATEOFFLINEPARAMPRINCIPALSPROPERTYREDIRECTRESETRESETALLSETSIGNEDBYSTRICTTRUSTALLTRUSTNONEUPDATEVERBOSEVERSIONVIEWERXML
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdescriptionKeyprivate java.lang.StringhelperStringprivate NumberOfArgumentsnumberOfArgumentsprivate java.lang.Stringoption
-
Constructor Summary
Constructors Modifier Constructor Description privateCommandLineOptions(java.lang.String option, java.lang.String descriptionKey)privateCommandLineOptions(java.lang.String option, java.lang.String helperString, java.lang.String descriptionKey)privateCommandLineOptions(java.lang.String option, java.lang.String helperString, java.lang.String descriptionKey, NumberOfArguments numberOfArguments)privateCommandLineOptions(java.lang.String option, java.lang.String descriptionKey, NumberOfArguments numberOfArguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArgumentExplanation()java.lang.StringgetHelperString()java.lang.StringgetLocalizedDescription()java.lang.StringgetOption()booleanhasEvenNumberSupportingEqualsChar()private booleanhasNumberOfArguments(NumberOfArguments number)booleanhasOneArgument()booleanhasOneOrMoreArguments()static CommandLineOptionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CommandLineOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUSTALL
public static final CommandLineOptions TRUSTALL
-
ABOUT
public static final CommandLineOptions ABOUT
-
VIEWER
public static final CommandLineOptions VIEWER
-
CLEARCACHE
public static final CommandLineOptions CLEARCACHE
-
LISTCACHEIDS
public static final CommandLineOptions LISTCACHEIDS
-
LICENSE
public static final CommandLineOptions LICENSE
-
HELP1
public static final CommandLineOptions HELP1
-
VERSION
public static final CommandLineOptions VERSION
-
ARG
public static final CommandLineOptions ARG
-
PARAM
public static final CommandLineOptions PARAM
-
PROPERTY
public static final CommandLineOptions PROPERTY
-
UPDATE
public static final CommandLineOptions UPDATE
-
VERBOSE
public static final CommandLineOptions VERBOSE
-
DETAILS
public static final CommandLineOptions DETAILS
-
NOSEC
public static final CommandLineOptions NOSEC
-
NOUPDATE
public static final CommandLineOptions NOUPDATE
-
HEADLESS
public static final CommandLineOptions HEADLESS
-
STRICT
public static final CommandLineOptions STRICT
-
XML
public static final CommandLineOptions XML
-
REDIRECT
public static final CommandLineOptions REDIRECT
-
NOFORK
public static final CommandLineOptions NOFORK
-
NOHEADERS
public static final CommandLineOptions NOHEADERS
-
OFFLINE
public static final CommandLineOptions OFFLINE
-
TRUSTNONE
public static final CommandLineOptions TRUSTNONE
-
JNLP
public static final CommandLineOptions JNLP
-
BROWSER
public static final CommandLineOptions BROWSER
-
NOSPLASH
public static final CommandLineOptions NOSPLASH
-
LIST
public static final CommandLineOptions LIST
-
GET
public static final CommandLineOptions GET
-
INFO
public static final CommandLineOptions INFO
-
SET
public static final CommandLineOptions SET
-
RESETALL
public static final CommandLineOptions RESETALL
-
RESET
public static final CommandLineOptions RESET
-
CHECK
public static final CommandLineOptions CHECK
-
HELP2
public static final CommandLineOptions HELP2
-
FILE
public static final CommandLineOptions FILE
-
DEFAULTFILE
public static final CommandLineOptions DEFAULTFILE
-
CODEBASE
public static final CommandLineOptions CODEBASE
-
SIGNEDBY
public static final CommandLineOptions SIGNEDBY
-
PRINCIPALS
public static final CommandLineOptions PRINCIPALS
-
-
Field Detail
-
option
private final java.lang.String option
-
helperString
private final java.lang.String helperString
-
descriptionKey
private final java.lang.String descriptionKey
-
numberOfArguments
private final NumberOfArguments numberOfArguments
-
-
Constructor Detail
-
CommandLineOptions
private CommandLineOptions(java.lang.String option, java.lang.String helperString, java.lang.String descriptionKey, NumberOfArguments numberOfArguments)
-
CommandLineOptions
private CommandLineOptions(java.lang.String option, java.lang.String helperString, java.lang.String descriptionKey)
-
CommandLineOptions
private CommandLineOptions(java.lang.String option, java.lang.String descriptionKey, NumberOfArguments numberOfArguments)
-
CommandLineOptions
private CommandLineOptions(java.lang.String option, java.lang.String descriptionKey)
-
-
Method Detail
-
values
public static CommandLineOptions[] 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 (CommandLineOptions c : CommandLineOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandLineOptions valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getOption
public java.lang.String getOption()
-
getHelperString
public java.lang.String getHelperString()
-
getLocalizedDescription
public java.lang.String getLocalizedDescription()
-
hasEvenNumberSupportingEqualsChar
public boolean hasEvenNumberSupportingEqualsChar()
-
hasOneOrMoreArguments
public boolean hasOneOrMoreArguments()
-
hasOneArgument
public boolean hasOneArgument()
-
hasNumberOfArguments
private boolean hasNumberOfArguments(NumberOfArguments number)
-
getArgumentExplanation
public java.lang.String getArgumentExplanation()
-
-