Class ActionStart

    • Constructor Detail

      • ActionStart

        public ActionStart()
      • ActionStart

        public ActionStart​(String name)
    • Method Detail

      • clone

        public ActionStart clone()
        Description copied from class: ActionBase
        This method is called when a action is duplicated in HopGui. It needs to return a deep copy of this action object. It is essential that the implementing class creates proper deep copies if the action configuration is stored in modifiable objects, such as lists or custom helper objects.
        Specified by:
        clone in interface IAction
        Overrides:
        clone in class ActionBase
        Returns:
        a clone of the object
      • execute

        public Result execute​(Result previousResult,
                              int nr)
                       throws HopWorkflowException
        Description copied from interface: IAction
        Execute the action. The previous result and number of rows are provided to the method for the purpose of chaining actions, pipelines, etc.
        Specified by:
        execute in interface IAction
        Parameters:
        previousResult - the previous result
        nr - the number of rows
        Returns:
        the Result object from execution of this action
        Throws:
        HopWorkflowException
      • evaluates

        public boolean evaluates()
      • isUnconditional

        public boolean isUnconditional()
        Description copied from class: ActionBase
        This method must return true if the action supports the unconditional outgoing hop. For ActionBase, this method always returns true
        Specified by:
        isUnconditional in interface IAction
        Overrides:
        isUnconditional in class ActionBase
        Returns:
        true
      • getSchedulerType

        public int getSchedulerType()
      • getHour

        public int getHour()
      • getMinutes

        public int getMinutes()
      • getWeekDay

        public int getWeekDay()
      • getDayOfMonth

        public int getDayOfMonth()
      • setDayOfMonth

        public void setDayOfMonth​(int dayOfMonth)
      • setHour

        public void setHour​(int hour)
      • setMinutes

        public void setMinutes​(int minutes)
      • setWeekDay

        public void setWeekDay​(int weekDay)
      • setSchedulerType

        public void setSchedulerType​(int schedulerType)
      • isStart

        public boolean isStart()
        Description copied from class: ActionBase
        Checks if the action has started
        Specified by:
        isStart in interface IAction
        Overrides:
        isStart in class ActionBase
        Returns:
        true if the action has started, false otherwise
      • isRepeat

        public boolean isRepeat()
      • setRepeat

        public void setRepeat​(boolean repeat)
      • getIntervalSeconds

        public int getIntervalSeconds()
      • setIntervalSeconds

        public void setIntervalSeconds​(int intervalSeconds)
      • getIntervalMinutes

        public int getIntervalMinutes()
      • setIntervalMinutes

        public void setIntervalMinutes​(int intervalMinutes)
      • check

        public void check​(List<ICheckResult> remarks,
                          WorkflowMeta workflowMeta,
                          IVariables variables,
                          IHopMetadataProvider metadataProvider)
        Description copied from class: ActionBase
        Allows Action objects to check themselves for consistency
        Specified by:
        check in interface IAction
        Overrides:
        check in class ActionBase
        Parameters:
        remarks - List of CheckResult objects indicating consistency status
        workflowMeta - the metadata object for the action
        variables - the variable variables to resolve string expressions with variables with
        metadataProvider - the MetaStore to load common elements from