Class RestartItself

    • Constructor Detail

      • RestartItself

        public RestartItself()
    • Method Detail

      • setUseFlowFileVariable

        public void setUseFlowFileVariable​(boolean value)
        Sets whether to just restart the flow or execute from file (ActorUtils.FLOW_FILENAME_LONG).
        Parameters:
        value - true if to use variable
      • getUseFlowFileVariable

        public boolean getUseFlowFileVariable()
        Returns whether to just restart the flow or execute from file (ActorUtils.FLOW_FILENAME_LONG).
        Returns:
        true if to use variable
      • useFlowFileVariableTipText

        public String useFlowFileVariableTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • restart

        public String restart​(Flow flow)
        Restarts the flow.
        Specified by:
        restart in class AbstractRestartOperation
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully restarted, otherwise the error message