Class AbstractExternalTransition<S,E>

java.lang.Object
org.springframework.statemachine.transition.AbstractTransition<S,E>
org.springframework.statemachine.transition.AbstractExternalTransition<S,E>
All Implemented Interfaces:
Transition<S,E>
Direct Known Subclasses:
DefaultExternalTransition

public abstract class AbstractExternalTransition<S,E> extends AbstractTransition<S,E>
  • Constructor Details

    • AbstractExternalTransition

      public AbstractExternalTransition(State<S,E> source, State<S,E> target, Collection<Function<StateContext<S,E>,reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> guard, Trigger<S,E> trigger, SecurityRule securityRule, String name)
      Instantiates a new abstract external transition.
      Parameters:
      source - the source
      target - the target
      actions - the actions
      event - the event
      guard - the guard
      trigger - the trigger
      securityRule - the security rule
      name - the name
    • AbstractExternalTransition

      public AbstractExternalTransition(State<S,E> source, State<S,E> target, Collection<Function<StateContext<S,E>,reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> guard, Trigger<S,E> trigger, SecurityRule securityRule)
      Instantiates a new abstract external transition.
      Parameters:
      source - the source
      target - the target
      actions - the actions
      event - the event
      guard - the guard
      trigger - the trigger
      securityRule - the security rule
    • AbstractExternalTransition

      public AbstractExternalTransition(State<S,E> source, State<S,E> target, Collection<Function<StateContext<S,E>,reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> guard, Trigger<S,E> trigger)
      Instantiates a new abstract external transition.
      Parameters:
      source - the source
      target - the target
      actions - the actions
      event - the event
      guard - the guard
      trigger - the trigger