|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<StepListenerMetaData> org.springframework.batch.core.listener.StepListenerMetaData
public enum StepListenerMetaData
Enumeration for StepListener
meta data, which ties together the names
of methods, their interfaces, annotation, and expected arguments.
StepListenerFactoryBean
Method Summary | |
---|---|
static StepListenerMetaData |
fromPropertyName(String propertyName)
Return the relevant meta data for the provided property name. |
Class<? extends Annotation> |
getAnnotation()
|
Class<?> |
getListenerInterface()
|
String |
getMethodName()
|
Class<?>[] |
getParamTypes()
|
String |
getPropertyName()
|
static ListenerMetaData[] |
itemListenerMetaData()
|
static ListenerMetaData[] |
stepExecutionListenerMetaData()
|
static ListenerMetaData[] |
taskletListenerMetaData()
|
static StepListenerMetaData |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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 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
Method Detail |
---|
public static StepListenerMetaData[] values()
for (StepListenerMetaData c : StepListenerMetaData.values()) System.out.println(c);
public static StepListenerMetaData valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getMethodName()
getMethodName
in interface ListenerMetaData
public Class<? extends Annotation> getAnnotation()
getAnnotation
in interface ListenerMetaData
public Class<?> getListenerInterface()
getListenerInterface
in interface ListenerMetaData
public Class<?>[] getParamTypes()
getParamTypes
in interface ListenerMetaData
public String getPropertyName()
getPropertyName
in interface ListenerMetaData
public static StepListenerMetaData fromPropertyName(String propertyName)
propertyName
-
public static ListenerMetaData[] itemListenerMetaData()
public static ListenerMetaData[] stepExecutionListenerMetaData()
public static ListenerMetaData[] taskletListenerMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |