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
ChunkOrientedTaskletpublic static final TaskletType SYSTEM_COMMAND_TASKLET
SystemCommandTaskletpublic static final TaskletType CALLABLE_TASKLET_ADAPTER
CallableTaskletAdapterpublic static final TaskletType METHOD_INVOKING_TASKLET_ADAPTER
MethodInvokingTaskletAdapterpublic static final TaskletType HIVE_TASKLET
HiveTaskletpublic static final TaskletType JAR_TASKLET
JarTaskletpublic static final TaskletType JOB_TASKLET
JobTaskletpublic static final TaskletType PIG_TASKLET
PigTaskletpublic static final TaskletType SCRIPT_TASKLET
ScriptTaskletpublic static final TaskletType TOOL_TASKLET
ToolTaskletpublic 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
implementationUNKNOWNpublic java.lang.String getClassName()
public java.lang.String getDisplayName()