Package org.sikuli.util
Enum CommandArgsEnum
- All Implemented Interfaces:
Serializable,Comparable<CommandArgsEnum>,java.lang.constant.Constable
public enum CommandArgsEnum extends Enum<CommandArgsEnum>
Enum that stores the info about the commandline args
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSOLEPrints all errormessages to stdoutDEBUGset debug levelHELPShows the helpLOADPreloads script in IDELOGFILEoutputfile for Sikuli logging messagesMULTIallow multiple IDEPYTHONSERVERrun the server for PythonQUIETspecial debugging during startupRUNRuns the scriptSERVERrun as serverUSERLOGFILEoutputfile for user logging messagesVERBOSEspecial debugging during startup -
Method Summary
Modifier and Type Method Description Stringargname()Returns the argnameStringdescription()Description for the paramStringlongname()Returns the long nameStringshortname()Returns the short namestatic CommandArgsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CommandArgsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HELP
Shows the help -
DEBUG
set debug level -
LOGFILE
outputfile for Sikuli logging messages -
USERLOGFILE
outputfile for user logging messages -
RUN
Runs the script -
CONSOLE
Prints all errormessages to stdout -
VERBOSE
special debugging during startup -
QUIET
special debugging during startup -
LOAD
Preloads script in IDE -
SERVER
run as server -
PYTHONSERVER
run the server for Python -
MULTI
allow multiple IDE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
longname
Returns the long name- Returns:
- Longname of the parameter
-
shortname
Returns the short name- Returns:
- Shortname of the parameter
-
argname
Returns the argname- Returns:
- The argname
-
description
Description for the param- Returns:
- the description
-