Package com.day.cq.dam.core.process
Enum CommandLineProcess.Arguments
- java.lang.Object
-
- java.lang.Enum<CommandLineProcess.Arguments>
-
- com.day.cq.dam.core.process.CommandLineProcess.Arguments
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CommandLineProcess.Arguments>
- Enclosing class:
- CommandLineProcess
public static enum CommandLineProcess.Arguments extends java.lang.Enum<CommandLineProcess.Arguments>
The available arguments to this process implementation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMANDS
Argument for command-line to executeDELETE_COMMAND_RENDITION
Argument to delete rendition generated by command promptGENERATE_WEB_RENDITION
Argument to generate web renditionsMIME_TYPES
Argument for the mime types to usePROCESS_ARGS
RETRIES
Argument for the number of retriesTHUMBNAILS
Argument for thumb nail sizesTIMEOUT
Argument for timeout
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArgumentName()
java.lang.String
getArgumentPrefix()
static CommandLineProcess.Arguments
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CommandLineProcess.Arguments[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESS_ARGS
public static final CommandLineProcess.Arguments PROCESS_ARGS
-
MIME_TYPES
public static final CommandLineProcess.Arguments MIME_TYPES
Argument for the mime types to use
-
THUMBNAILS
public static final CommandLineProcess.Arguments THUMBNAILS
Argument for thumb nail sizes
-
COMMANDS
public static final CommandLineProcess.Arguments COMMANDS
Argument for command-line to execute
-
GENERATE_WEB_RENDITION
public static final CommandLineProcess.Arguments GENERATE_WEB_RENDITION
Argument to generate web renditions
-
DELETE_COMMAND_RENDITION
public static final CommandLineProcess.Arguments DELETE_COMMAND_RENDITION
Argument to delete rendition generated by command prompt
-
TIMEOUT
public static final CommandLineProcess.Arguments TIMEOUT
Argument for timeout
-
RETRIES
public static final CommandLineProcess.Arguments RETRIES
Argument for the number of retries
-
-
Method Detail
-
values
public static CommandLineProcess.Arguments[] 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 (CommandLineProcess.Arguments c : CommandLineProcess.Arguments.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandLineProcess.Arguments 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
-
getArgumentName
public java.lang.String getArgumentName()
-
getArgumentPrefix
public java.lang.String getArgumentPrefix()
-
-