Class AbstractCommandWithFlowStopping

    • Field Detail

      • m_StopFlows

        protected boolean m_StopFlows
        whether to stop all registered flows first.
      • m_TimeOut

        protected int m_TimeOut
        the timeout period in msec for stopping a flow.
    • Constructor Detail

      • AbstractCommandWithFlowStopping

        public AbstractCommandWithFlowStopping()
    • Method Detail

      • setStopFlows

        public void setStopFlows​(boolean value)
        Sets whether to stop registered flows first.
        Parameters:
        value - true if to stop flows first
      • getStopFlows

        public boolean getStopFlows()
        Returns whether to stop registered flows first.
        Returns:
        true if to stop flows first
      • stopFlowsTipText

        public String stopFlowsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setTimeOut

        public void setTimeOut​(int value)
        Sets the timeout period before considering a flow to be unresponsive.
        Parameters:
        value - the timeout in msec
      • getTimeOut

        public int getTimeOut()
        Returns the timeout period before considering a flow to be unresponsive.
        Returns:
        the timeout in msec
      • timeOutTipText

        public String timeOutTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • createFlowID

        protected String createFlowID​(int id,
                                      Flow flow)
        Generates a flow ID string.
        Parameters:
        id - the registry ID
        flow - the flow
        Returns:
        the ID string
      • stopFlows

        protected void stopFlows()
        Stops the flows.