S
- the type of stateE
- the type of eventpublic abstract class AbstractTransitionConfigurer<S,E> extends AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>>
Constructor and Description |
---|
AbstractTransitionConfigurer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAction(Action<S,E> action) |
protected void |
addAction(Action<S,E> action,
Action<S,E> error) |
protected void |
addActionFunction(java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action) |
protected java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> |
getActions() |
java.lang.Integer |
getCount() |
protected E |
getEvent() |
protected java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> |
getGuard() |
protected java.lang.Long |
getPeriod() |
protected SecurityRule |
getSecurityRule() |
protected S |
getSource() |
protected S |
getState() |
protected S |
getTarget() |
void |
setCount(java.lang.Integer count) |
protected void |
setEvent(E event) |
protected void |
setGuard(Guard<S,E> guard) |
protected void |
setGuardFunction(java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard) |
protected void |
setPeriod(long period) |
protected void |
setSecurityRule(java.lang.String expression) |
protected void |
setSecurityRule(java.lang.String attributes,
SecurityRule.ComparisonType match) |
protected void |
setSource(S source) |
protected void |
setState(S state) |
protected void |
setTarget(S target) |
addObjectPostProcessor, and, configure, getBuilder, init, isAssignable, setBuilder
protected S getSource()
protected S getTarget()
protected S getState()
protected E getEvent()
protected java.lang.Long getPeriod()
public java.lang.Integer getCount()
protected java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> getActions()
protected java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> getGuard()
protected SecurityRule getSecurityRule()
protected void setSource(S source)
protected void setTarget(S target)
protected void setState(S state)
protected void setEvent(E event)
protected void setPeriod(long period)
public void setCount(java.lang.Integer count)
count
- to set how many time the trigger will be called.protected void addActionFunction(java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action)
protected void setGuardFunction(java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard)
protected void setSecurityRule(java.lang.String attributes, SecurityRule.ComparisonType match)
protected void setSecurityRule(java.lang.String expression)