Class AbstractFlowRestartManager

    • Constructor Detail

      • AbstractFlowRestartManager

        public AbstractFlowRestartManager()
    • Method Detail

      • doStart

        protected abstract String doStart​(Flow flow)
        Starts the restart handling.
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully started, otherwise error message
      • start

        public String start​(Flow flow)
        Starts the restart handling.
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully started, otherwise error message
      • doStop

        protected abstract String doStop​(Flow flow)
        Stops the restart handling.
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully stopped, otherwise error message
      • stop

        public String stop​(Flow flow)
        Stops the restart handling.
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully stopped, otherwise error message