public class StateMachineStateBuilder<S,E> extends org.springframework.data.hadoop.config.common.annotation.AbstractConfiguredAnnotationBuilder<StateMachineStates<S,E>,StateMachineStateConfigurer<S,E>,StateMachineStateBuilder<S,E>> implements StateMachineStateConfigurer<S,E>
| Constructor and Description |
|---|
StateMachineStateBuilder() |
StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<Object> objectPostProcessor) |
StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<Object> objectPostProcessor,
boolean allowConfigurersOfSameType) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<StateMachineStates.StateData<S,E>> states) |
protected StateMachineStates<S,E> |
performBuild() |
void |
setInitialState(S state) |
StateConfigurer<S,E> |
withStates() |
apply, apply, beforeConfigureMains, beforeConfigurePosts, beforeInit, doBuild, getConfigurer, getConfigurers, getOrApply, getOrBuild, getSharedObject, getSharedObjects, objectPostProcessor, postProcess, removeConfigurer, removeConfigurers, setSharedObjectpublic StateMachineStateBuilder()
public StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<Object> objectPostProcessor, boolean allowConfigurersOfSameType)
public StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<Object> objectPostProcessor)
protected StateMachineStates<S,E> performBuild() throws Exception
performBuild in class org.springframework.data.hadoop.config.common.annotation.AbstractConfiguredAnnotationBuilder<StateMachineStates<S,E>,StateMachineStateConfigurer<S,E>,StateMachineStateBuilder<S,E>>Exceptionpublic StateConfigurer<S,E> withStates() throws Exception
withStates in interface StateMachineStateConfigurer<S,E>Exceptionpublic void add(Collection<StateMachineStates.StateData<S,E>> states)
public void setInitialState(S state)