Class ActionDelay

  • All Implemented Interfaces:
    Cloneable, IAttributes, ICheckResultSource, IExtensionData, IHasLogChannel, ILoggingObject, IVariables, org.apache.hop.resource.IResourceHolder, org.apache.hop.workflow.action.IAction

    @Action(id="DELAY",
            name="i18n::ActionDelay.Name",
            description="i18n::ActionDelay.Description",
            image="Delay.svg",
            categoryDescription="i18n:org.apache.hop.workflow:ActionCategory.Category.Conditions",
            keywords="i18n::ActionDelay.keyword",
            documentationUrl="/workflow/actions/delay.html")
    public class ActionDelay
    extends org.apache.hop.workflow.action.ActionBase
    implements Cloneable, org.apache.hop.workflow.action.IAction
    Action type to sleep for a time. It uses a piece of javascript to do this. \
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int scaleTime  
      • Fields inherited from class org.apache.hop.workflow.action.ActionBase

        attributesMap, containerObjectId, entryTransformSetVariablesMap, extensionDataMap, log, parentWorkflow, parentWorkflowMeta
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void check​(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta workflowMeta, IVariables variables, IHopMetadataProvider metadataProvider)  
      Object clone()  
      Result execute​(Result previousResult, int nr)
      Execute this action and return the result.
      String getMaximumTimeout()  
      String getRealMaximumTimeout()  
      int getScaleTime()  
      boolean isEvaluation()  
      boolean isUnconditional()  
      boolean resetErrorsBeforeExecution()  
      void setMaximumTimeout​(String s)  
      void setScaleTime​(int scaleTime)  
      • Methods inherited from class org.apache.hop.workflow.action.ActionBase

        clear, copyFrom, equals, exportResources, getAttribute, getAttributes, getAttributesMap, getContainerId, getDescription, getDialogClassName, getEntryTransformSetVariable, getEntryTransformSetVariablesMap, getExtensionDataMap, getFilename, getLogChannel, getLogChannelId, getLogLevel, getMetadataProvider, getName, getObjectCopy, getObjectName, getObjectType, getParent, getParentVariables, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getRegistrationDate, getResourceDependencies, getSqlStatements, getTypeDesc, getTypeId, getUsedDatabaseConnections, getVariable, getVariable, getVariableBoolean, getVariableNames, getVariables, getXml, hasChanged, hashCode, initializeFrom, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isPipeline, isReferencedObjectEnabled, isRowlevel, isStart, isWorkflow, loadReferencedObject, loadXml, loadXml, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resolve, resolve, resolve, setAttribute, setAttributes, setAttributesMap, setChanged, setChanged, setContainerObjectId, setDescription, setEntryTransformSetVariable, setForcingSeparateLogging, setGatheringMetrics, setLogLevel, setMetadataProvider, setName, setParentVariables, setParentWorkflow, setParentWorkflowMeta, setPluginId, setVariable, setVariables, shareWith, toString
      • Methods inherited from interface org.apache.hop.workflow.action.IAction

        clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getResourceDependencies, getSqlStatements, getXml, hasChanged, isPipeline, isReferencedObjectEnabled, isStart, isWorkflow, loadReferencedObject, loadXml, setChanged, setChanged, setDescription, setMetadataProvider, setName, setParentWorkflow, setParentWorkflowMeta, setPluginId
    • Field Detail

      • scaleTime

        public int scaleTime
    • Constructor Detail

      • ActionDelay

        public ActionDelay​(String n)
      • ActionDelay

        public ActionDelay()
      • ActionDelay

        public ActionDelay​(ActionDelay other)
    • Method Detail

      • clone

        public Object clone()
        Specified by:
        clone in interface org.apache.hop.workflow.action.IAction
        Overrides:
        clone in class org.apache.hop.workflow.action.ActionBase
      • execute

        public Result execute​(Result previousResult,
                              int nr)
        Execute this action and return the result. In this case it means, just set the result boolean in the Result class.
        Specified by:
        execute in interface org.apache.hop.workflow.action.IAction
        Parameters:
        previousResult - The result of the previous execution
        Returns:
        The Result of the execution.
      • resetErrorsBeforeExecution

        public boolean resetErrorsBeforeExecution()
        Specified by:
        resetErrorsBeforeExecution in interface org.apache.hop.workflow.action.IAction
        Overrides:
        resetErrorsBeforeExecution in class org.apache.hop.workflow.action.ActionBase
      • isEvaluation

        public boolean isEvaluation()
        Specified by:
        isEvaluation in interface org.apache.hop.workflow.action.IAction
        Overrides:
        isEvaluation in class org.apache.hop.workflow.action.ActionBase
      • isUnconditional

        public boolean isUnconditional()
        Specified by:
        isUnconditional in interface org.apache.hop.workflow.action.IAction
        Overrides:
        isUnconditional in class org.apache.hop.workflow.action.ActionBase
      • getMaximumTimeout

        public String getMaximumTimeout()
      • getRealMaximumTimeout

        public String getRealMaximumTimeout()
      • setMaximumTimeout

        public void setMaximumTimeout​(String s)
      • check

        public void check​(List<ICheckResult> remarks,
                          org.apache.hop.workflow.WorkflowMeta workflowMeta,
                          IVariables variables,
                          IHopMetadataProvider metadataProvider)
        Specified by:
        check in interface org.apache.hop.workflow.action.IAction
        Overrides:
        check in class org.apache.hop.workflow.action.ActionBase
      • getScaleTime

        public int getScaleTime()
      • setScaleTime

        public void setScaleTime​(int scaleTime)