Package org.sikuli.util
Enum CommandArgsEnum
- java.lang.Object
-
- java.lang.Enum<CommandArgsEnum>
-
- org.sikuli.util.CommandArgsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CommandArgsEnum>
public enum CommandArgsEnum extends Enum<CommandArgsEnum>
Enum that stores the info about the commandline args
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringargname()Stringdescription()booleanhasArgs()Stringlongname()Stringshortname()static 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 Detail
-
HELP
public static final CommandArgsEnum HELP
Shows the help
-
DEBUG
public static final CommandArgsEnum DEBUG
set debug level
-
LOGFILE
public static final CommandArgsEnum LOGFILE
outputfile for Sikuli logging messages
-
USERLOGFILE
public static final CommandArgsEnum USERLOGFILE
outputfile for user logging messages
-
RUN
public static final CommandArgsEnum RUN
Runs the script
-
CONSOLE
public static final CommandArgsEnum CONSOLE
Prints all errormessages to stdout
-
VERBOSE
public static final CommandArgsEnum VERBOSE
special debugging during startup
-
QUIET
public static final CommandArgsEnum QUIET
special debugging during startup
-
LOAD
public static final CommandArgsEnum LOAD
Preloads script in IDE
-
SERVER
public static final CommandArgsEnum SERVER
run as server
-
PYTHONSERVER
public static final CommandArgsEnum PYTHONSERVER
run the server for Python
-
MULTI
public static final CommandArgsEnum MULTI
allow multiple IDE
-
-
Method Detail
-
values
public static CommandArgsEnum[] 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 (CommandArgsEnum c : CommandArgsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandArgsEnum 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
-
longname
public String longname()
-
shortname
public String shortname()
-
argname
public String argname()
-
description
public String description()
-
hasArgs
public boolean hasArgs()
-
-