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
-
Method Summary
Modifier and TypeMethodDescriptionstatic StepListenerMetaData
fromPropertyName
(String propertyName) Return the relevant meta data for the provided property name.Class<? extends Annotation>
Class<?>
Class<?>[]
static ListenerMetaData[]
static ListenerMetaData[]
static ListenerMetaData[]
static StepListenerMetaData
Returns 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:
getMethodName
in interfaceListenerMetaData
-
getAnnotation
- Specified by:
getAnnotation
in interfaceListenerMetaData
-
getListenerInterface
- Specified by:
getListenerInterface
in interfaceListenerMetaData
-
getParamTypes
- Specified by:
getParamTypes
in interfaceListenerMetaData
-
getPropertyName
- Specified by:
getPropertyName
in 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
-