Class SequentialFunctionChart.SfcTransition

java.lang.Object
neqsim.process.controllerdevice.SequentialFunctionChart.SfcTransition
All Implemented Interfaces:
Serializable
Enclosing class:
SequentialFunctionChart

public static class SequentialFunctionChart.SfcTransition extends Object implements Serializable
A transition between two steps in the SFC. A transition has a source step, target step, and a guard condition.
Version:
1.0
Author:
NeqSim
See Also:
  • Field Details

  • Constructor Details

    • SfcTransition

      public SfcTransition(String fromStep, String toStep, BooleanSupplier guard)
      Constructs a transition.
      Parameters:
      fromStep - source step name
      toStep - target step name
      guard - the guard condition
  • Method Details

    • getFromStep

      public String getFromStep()
      Gets the source step name.
      Returns:
      the source step name
    • getToStep

      public String getToStep()
      Gets the target step name.
      Returns:
      the target step name
    • getGuard

      public BooleanSupplier getGuard()
      Gets the guard condition.
      Returns:
      the guard supplier