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<java.lang.Object> objectPostProcessor) |
StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<java.lang.Object> objectPostProcessor,
boolean allowConfigurersOfSameType) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.util.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<java.lang.Object> objectPostProcessor,
boolean allowConfigurersOfSameType)
public StateMachineStateBuilder(org.springframework.data.hadoop.config.common.annotation.ObjectPostProcessor<java.lang.Object> objectPostProcessor)
protected StateMachineStates<S,E> performBuild() throws java.lang.Exception
performBuild in class org.springframework.data.hadoop.config.common.annotation.AbstractConfiguredAnnotationBuilder<StateMachineStates<S,E>,StateMachineStateConfigurer<S,E>,StateMachineStateBuilder<S,E>>java.lang.Exceptionpublic StateConfigurer<S,E> withStates() throws java.lang.Exception
withStates in interface StateMachineStateConfigurer<S,E>java.lang.Exceptionpublic void add(java.util.Collection<StateMachineStates.StateData<S,E>> states)
public void setInitialState(S state)