Enum Class StepListenerMetaData
- All Implemented Interfaces:
Serializable,Comparable<StepListenerMetaData>,Constable,ListenerMetaData
Enumeration for
StepListener meta data, which ties together the names of
methods, their interfaces, annotation, and expected arguments.- Since:
- 2.0
- Author:
- Lucas Ward
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StepListenerMetaDatafromPropertyName(String propertyName) Return the relevant meta data for the provided property name.Class<? extends Annotation>Class<?>Class<?>[]static ListenerMetaData[]static ListenerMetaData[]static ListenerMetaData[]static StepListenerMetaDataReturns the enum constant of this class with the specified name.static StepListenerMetaData[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_STEP
-
AFTER_STEP
-
BEFORE_CHUNK
-
AFTER_CHUNK
-
AFTER_CHUNK_ERROR
-
BEFORE_READ
-
AFTER_READ
-
ON_READ_ERROR
-
BEFORE_PROCESS
-
AFTER_PROCESS
-
ON_PROCESS_ERROR
-
BEFORE_WRITE
-
AFTER_WRITE
-
ON_WRITE_ERROR
-
ON_SKIP_IN_READ
-
ON_SKIP_IN_PROCESS
-
ON_SKIP_IN_WRITE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMethodName
- Specified by:
getMethodNamein interfaceListenerMetaData
-
getAnnotation
- Specified by:
getAnnotationin interfaceListenerMetaData
-
getListenerInterface
- Specified by:
getListenerInterfacein interfaceListenerMetaData
-
getParamTypes
- Specified by:
getParamTypesin interfaceListenerMetaData
-
getPropertyName
- Specified by:
getPropertyNamein interfaceListenerMetaData
-
fromPropertyName
Return the relevant meta data for the provided property name.- Parameters:
propertyName- property name to retrieve data for.- Returns:
- meta data with supplied property name, null if none exists.
-
itemListenerMetaData
-
stepExecutionListenerMetaData
-
taskletListenerMetaData
-