S
- the type of stateE
- the type of eventpublic class TransitionData<S,E>
extends java.lang.Object
Constructor and Description |
---|
TransitionData(S source,
S target,
E event)
Instantiates a new transition data.
|
TransitionData(S source,
S target,
E event,
java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard,
TransitionKind kind)
Instantiates a new transition data.
|
TransitionData(S source,
S target,
java.lang.Long period,
java.lang.Integer count,
java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard,
TransitionKind kind)
Instantiates a new transition data.
|
TransitionData(S source,
S target,
S state,
E event,
java.lang.Long period,
java.lang.Integer count,
java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard,
TransitionKind kind,
SecurityRule securityRule)
Instantiates a new transition data.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> |
getActions()
Gets the actions.
|
java.lang.Integer |
getCount()
Gets the count.
|
E |
getEvent()
Gets the event.
|
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> |
getGuard()
Gets the guard.
|
TransitionKind |
getKind()
Gets the kind.
|
java.lang.Long |
getPeriod()
Gets the period.
|
SecurityRule |
getSecurityRule()
Gets the security rule.
|
S |
getSource()
Gets the source.
|
S |
getState()
Gets the state.
|
S |
getTarget()
Gets the target.
|
public TransitionData(S source, S target, E event)
source
- the sourcetarget
- the targetevent
- the eventpublic TransitionData(S source, S target, E event, java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard, TransitionKind kind)
source
- the sourcetarget
- the targetevent
- the eventactions
- the actionsguard
- the guardkind
- the kindpublic TransitionData(S source, S target, java.lang.Long period, java.lang.Integer count, java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard, TransitionKind kind)
source
- the sourcetarget
- the targetperiod
- the periodcount
- the countactions
- the actionsguard
- the guardkind
- the kindpublic TransitionData(S source, S target, S state, E event, java.lang.Long period, java.lang.Integer count, java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> actions, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> guard, TransitionKind kind, SecurityRule securityRule)
source
- the sourcetarget
- the targetstate
- the stateevent
- the eventperiod
- the periodcount
- the countactions
- the actionsguard
- the guardkind
- the kindsecurityRule
- the security rulepublic S getSource()
public S getTarget()
public S getState()
public E getEvent()
public java.lang.Long getPeriod()
public java.lang.Integer getCount()
public java.util.Collection<java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>>> getActions()
public java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Boolean>> getGuard()
public TransitionKind getKind()
public SecurityRule getSecurityRule()