public enum JsrStepListenerMetaData extends java.lang.Enum<JsrStepListenerMetaData> implements ListenerMetaData
StepListener
meta data, which
ties together the names of methods, their interfaces, and expected arguments.StepListenerFactoryBean
Enum Constant and Description |
---|
AFTER_CHUNK |
AFTER_CHUNK_ERROR |
AFTER_PROCESS |
AFTER_PROCESS_ERROR |
AFTER_READ |
AFTER_READ_ERROR |
AFTER_STEP |
AFTER_WRITE |
AFTER_WRITE_ERROR |
BEFORE_CHUNK |
BEFORE_PROCESS |
BEFORE_READ |
BEFORE_STEP |
BEFORE_WRITE |
RETRY_PROCESS |
RETRY_READ |
RETRY_WRITE |
SKIP_PROCESS |
SKIP_READ |
SKIP_WRITE |
Modifier and Type | Method and Description |
---|---|
static JsrStepListenerMetaData |
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 JsrStepListenerMetaData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsrStepListenerMetaData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsrStepListenerMetaData BEFORE_STEP
public static final JsrStepListenerMetaData AFTER_STEP
public static final JsrStepListenerMetaData BEFORE_CHUNK
public static final JsrStepListenerMetaData AFTER_CHUNK
public static final JsrStepListenerMetaData AFTER_CHUNK_ERROR
public static final JsrStepListenerMetaData BEFORE_READ
public static final JsrStepListenerMetaData AFTER_READ
public static final JsrStepListenerMetaData AFTER_READ_ERROR
public static final JsrStepListenerMetaData BEFORE_PROCESS
public static final JsrStepListenerMetaData AFTER_PROCESS
public static final JsrStepListenerMetaData AFTER_PROCESS_ERROR
public static final JsrStepListenerMetaData BEFORE_WRITE
public static final JsrStepListenerMetaData AFTER_WRITE
public static final JsrStepListenerMetaData AFTER_WRITE_ERROR
public static final JsrStepListenerMetaData SKIP_READ
public static final JsrStepListenerMetaData SKIP_PROCESS
public static final JsrStepListenerMetaData SKIP_WRITE
public static final JsrStepListenerMetaData RETRY_READ
public static final JsrStepListenerMetaData RETRY_PROCESS
public static final JsrStepListenerMetaData RETRY_WRITE
public static JsrStepListenerMetaData[] values()
for (JsrStepListenerMetaData c : JsrStepListenerMetaData.values()) System.out.println(c);
public static JsrStepListenerMetaData 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 JsrStepListenerMetaData fromPropertyName(java.lang.String propertyName)
propertyName
-