public enum TaskletType extends Enum<TaskletType>
Tasklet implementations
known by Spring Task. These include tasklets provided by Spring Batch and Spring for
Apache Hadoop.| Enum Constant and Description |
|---|
CALLABLE_TASKLET_ADAPTER
CallableTaskletAdapter |
CHUNK_ORIENTED_TASKLET
ChunkOrientedTasklet |
METHOD_INVOKING_TASKLET_ADAPTER
MethodInvokingTaskletAdapter |
SYSTEM_COMMAND_TASKLET
SystemCommandTasklet |
UNKNOWN
Used when the type of tasklet is unknown to the system
|
| Modifier and Type | Method and Description |
|---|---|
static TaskletType |
fromClassName(String className) |
String |
getClassName() |
String |
getDisplayName() |
static TaskletType |
valueOf(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 UNKNOWN
public static TaskletType[] values()
for (TaskletType c : TaskletType.values()) System.out.println(c);
public static TaskletType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TaskletType fromClassName(String className)
className - the fully qualified name of the
Tasklet implementationUNKNOWNpublic String getClassName()
public String getDisplayName()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.