Interface StopRestrictor

    • Method Detail

      • isRestrictingStops

        boolean isRestrictingStops()
        Returns whether stops are being restricted.
        true if restricting stops
      • restrictedStopExecution

        void restrictedStopExecution()
        Stops the (restricted) execution. No message set.
      • restrictedStopExecution

        void restrictedStopExecution​(String msg)
        Stops the (restricted) execution.
        msg - the message to set as reason for stopping, can be null
      • isRestrictedStop

        boolean isRestrictedStop()
        Returns whether the stop was a restricted one (that can be resumed).
        true if restricted stop occurred