public enum TaskletType extends java.lang.Enum<TaskletType>
Tasklet
implementations known by Spring XD. These
include tasklets provided by Spring Batch and Spring for Apache Hadoop.Enum Constant and Description |
---|
CALLABLE_TASKLET_ADAPTER
CallableTaskletAdapter |
CHUNK_ORIENTED_TASKLET
ChunkOrientedTasklet |
HIVE_TASKLET
HiveTasklet |
JAR_TASKLET
JarTasklet |
JOB_TASKLET
JobTasklet |
METHOD_INVOKING_TASKLET_ADAPTER
MethodInvokingTaskletAdapter |
PIG_TASKLET
PigTasklet |
SCRIPT_TASKLET
ScriptTasklet |
SYSTEM_COMMAND_TASKLET
SystemCommandTasklet |
TOOL_TASKLET
ToolTasklet |
UNKNOWN
Used when the type of tasklet is unknown to the system
|
Modifier and Type | Method and Description |
---|---|
static TaskletType |
fromClassName(java.lang.String className) |
java.lang.String |
getClassName() |
java.lang.String |
getDisplayName() |
static TaskletType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskletType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskletType CHUNK_ORIENTED_TASKLET
ChunkOrientedTasklet
public static final TaskletType SYSTEM_COMMAND_TASKLET
SystemCommandTasklet
public static final TaskletType CALLABLE_TASKLET_ADAPTER
CallableTaskletAdapter
public static final TaskletType METHOD_INVOKING_TASKLET_ADAPTER
MethodInvokingTaskletAdapter
public static final TaskletType HIVE_TASKLET
HiveTasklet
public static final TaskletType JAR_TASKLET
JarTasklet
public static final TaskletType JOB_TASKLET
JobTasklet
public static final TaskletType PIG_TASKLET
PigTasklet
public static final TaskletType SCRIPT_TASKLET
ScriptTasklet
public static final TaskletType TOOL_TASKLET
ToolTasklet
public static final TaskletType UNKNOWN
public static TaskletType[] values()
for (TaskletType c : TaskletType.values()) System.out.println(c);
public static TaskletType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TaskletType fromClassName(java.lang.String className)
className
- the fully qualified name of the Tasklet
implementationUNKNOWN
public java.lang.String getClassName()
public java.lang.String getDisplayName()