public enum StepListenerMetaData extends java.lang.Enum<StepListenerMetaData> implements ListenerMetaData
StepListener
meta data, which ties together the names
of methods, their interfaces, annotation, and expected arguments.StepListenerFactoryBean
Enum Constant and Description |
---|
AFTER_CHUNK |
AFTER_CHUNK_ERROR |
AFTER_PROCESS |
AFTER_READ |
AFTER_STEP |
AFTER_WRITE |
BEFORE_CHUNK |
BEFORE_PROCESS |
BEFORE_READ |
BEFORE_STEP |
BEFORE_WRITE |
ON_PROCESS_ERROR |
ON_READ_ERROR |
ON_SKIP_IN_PROCESS |
ON_SKIP_IN_READ |
ON_SKIP_IN_WRITE |
ON_WRITE_ERROR |
Modifier and Type | Method and Description |
---|---|
static StepListenerMetaData |
fromPropertyName(java.lang.String propertyName)
Return the relevant meta data for the provided property name.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotation() |
java.lang.Class<?> |
getListenerInterface() |
java.lang.String |
getMethodName() |
java.lang.Class<?>[] |
getParamTypes() |
java.lang.String |
getPropertyName() |
static ListenerMetaData[] |
itemListenerMetaData() |
static ListenerMetaData[] |
stepExecutionListenerMetaData() |
static ListenerMetaData[] |
taskletListenerMetaData() |
static StepListenerMetaData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepListenerMetaData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepListenerMetaData BEFORE_STEP
public static final StepListenerMetaData AFTER_STEP
public static final StepListenerMetaData BEFORE_CHUNK
public static final StepListenerMetaData AFTER_CHUNK
public static final StepListenerMetaData AFTER_CHUNK_ERROR
public static final StepListenerMetaData BEFORE_READ
public static final StepListenerMetaData AFTER_READ
public static final StepListenerMetaData ON_READ_ERROR
public static final StepListenerMetaData BEFORE_PROCESS
public static final StepListenerMetaData AFTER_PROCESS
public static final StepListenerMetaData ON_PROCESS_ERROR
public static final StepListenerMetaData BEFORE_WRITE
public static final StepListenerMetaData AFTER_WRITE
public static final StepListenerMetaData ON_WRITE_ERROR
public static final StepListenerMetaData ON_SKIP_IN_READ
public static final StepListenerMetaData ON_SKIP_IN_PROCESS
public static final StepListenerMetaData ON_SKIP_IN_WRITE
public static StepListenerMetaData[] values()
for (StepListenerMetaData c : StepListenerMetaData.values()) System.out.println(c);
public static StepListenerMetaData 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 java.lang.String getMethodName()
getMethodName
in interface ListenerMetaData
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
getAnnotation
in interface ListenerMetaData
public java.lang.Class<?> getListenerInterface()
getListenerInterface
in interface ListenerMetaData
public java.lang.Class<?>[] getParamTypes()
getParamTypes
in interface ListenerMetaData
public java.lang.String getPropertyName()
getPropertyName
in interface ListenerMetaData
public static StepListenerMetaData fromPropertyName(java.lang.String propertyName)
propertyName
- property name to retrieve data for.public static ListenerMetaData[] itemListenerMetaData()
public static ListenerMetaData[] stepExecutionListenerMetaData()
public static ListenerMetaData[] taskletListenerMetaData()