Interface StopRestrictor

    • Method Detail

      • isRestrictingStops

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

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

        void restrictedStopExecution​(String msg)
        Stops the (restricted) execution.
        Parameters:
        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).
        Returns:
        true if restricted stop occurred