Package org.apache.hop.workflow
Class Workflow
- java.lang.Object
-
- org.apache.hop.core.variables.Variables
-
- org.apache.hop.workflow.Workflow
-
- All Implemented Interfaces:
IExecutor,IExtensionData,IHasLogChannel,ILoggingObject,INamedParameterDefinitions,INamedParameters,IVariables,IWorkflowEngine<WorkflowMeta>
- Direct Known Subclasses:
LocalWorkflowEngine
public abstract class Workflow extends Variables implements IVariables, INamedParameters, IHasLogChannel, ILoggingObject, IExecutor, IExtensionData, IWorkflowEngine<WorkflowMeta>
This class executes a workflow as defined by a WorkflowMeta object.The definition of a Hop workflow is represented by a WorkflowMeta object. It is typically loaded from a .hwf file, or it is generated dynamically. The declared parameters of the workflow definition are then queried using listParameters() and assigned values using calls to setParameterValue(..).
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Workflow()Workflow(WorkflowMeta workflowMeta)Workflow(WorkflowMeta workflowMeta, ILoggingObject parentLogging)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateParameters(IVariables variables)voidaddActionListener(IActionListener actionListener)voidaddErrors(int nrToAdd)Add a number of errors to the total number of erros that occured during execution.voidaddParameterDefinition(String key, String defValue, String description)voidaddWorkflowFinishedListener(IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>> finishedListener)voidaddWorkflowStartedListener(IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>> finishedListener)booleanbeginProcessing()Handle logging at startvoidclearParameterValues()voidcopyParametersFromDefinitions(INamedParameterDefinitions definitions)ResultexecuteFromStart(int nr, Result result)Execute a workflow with previous results passed in.
Execute called by ActionWorkflow: don't clear the actionResults.voidfireWorkflowFinishListeners()voidfireWorkflowStartedListeners()List<IActionListener>getActionListeners()List<ActionResult>getActionResults()Gets a flat list of results in THIS workflow, in the order of execution of actions.Set<ActionMeta>getActiveActions()Gets the activeJobEntryPipelines.StringgetContainerId()Gets the serverObjectId.intgetErrors()Get the number of errors that happened in the workflow.StringgetExecutingServer()Gets the executing server.StringgetExecutingUser()Gets the executing user.DategetExecutionEndDate()Gets executionEndDateDategetExecutionStartDate()Gets executionStartDateMap<String,Object>getExtensionDataMap()StringgetFilename()Gets the file name.ILogChannelgetLogChannel()Gets the log channel interface.StringgetLogChannelId()Gets the log channel id.LogLevelgetLogLevel()Gets the logLevel.IHopMetadataProvidergetMetadataProvider()Gets metadataProviderStringgetObjectCopy()Always returns null for Workflow.StringgetObjectName()Gets the workflow name.LoggingObjectTypegetObjectType()Gets LoggingObjectType.JOB, which is always the value for Workflow.StringgetParameterDefault(String key)StringgetParameterDescription(String key)StringgetParameterValue(String key)ILoggingObjectgetParent()Gets parent logging object.ILoggingObjectgetParentLoggingObject()Gets the parent logging object.IPipelineEnginegetParentPipeline()IVariablesgetParentVariables()IWorkflowEngine<WorkflowMeta>getParentWorkflow()Gets the parent workflow.DategetRegistrationDate()Gets the registration date.ResultgetResult()List<RowMetaAndData>getSourceRows()Gets sourceRowsActionMetagetStartActionMeta()Gets the start action meta.ResultgetStartActionResult()StringgetStatusDescription()List<IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>>>getWorkflowFinishedListeners()Gets workflowFinishedListenersWorkflowMetagetWorkflowMeta()StringgetWorkflowName()WorkflowRunConfigurationgetWorkflowRunConfiguration()Gets workflowRunConfigurationList<IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>>>getWorkflowStartedListeners()Gets workflowStartedListenersWorkflowTrackergetWorkflowTracker()booleanisActive()booleanisFinished()booleanisForcingSeparateLogging()booleanisGatheringMetrics()booleanisInitialized()booleanisInteractive()Gets the boolean value of interactive.booleanisStopped()String[]listParameters()voidremoveActionListener(IActionListener actionListener)voidremoveAllParameters()voidresetErrors()Set the number of occured errors to 0.protected voidsetActive(boolean active)voidsetContainerId(String containerId)Sets the execution container object id (containerObjectId).voidsetExecutingServer(String executingServer)Sets the executing server.voidsetExecutingUser(String executingUser)Sets the executing user.voidsetExecutionEndDate(Date executionEndDate)voidsetExecutionStartDate(Date executionStartDate)voidsetFinished(boolean finished)voidsetForcingSeparateLogging(boolean forcingSeparateLogging)voidsetGatheringMetrics(boolean gatheringMetrics)protected voidsetInitialized(boolean initialized)voidsetInteractive(boolean interactive)Sets the value of interactive.voidsetInternalHopVariables()static voidsetInternalHopVariables(IVariables variables, String filename, String name)Sets the internal hop variables.voidsetLogLevel(LogLevel logLevel)Sets the log level.voidsetMetadataProvider(IHopMetadataProvider metadataProvider)voidsetParameterValue(String key, String value)voidsetParentLoggingObject(ILoggingObject parentLoggingObject)voidsetParentPipeline(IPipelineEngine parentPipeline)voidsetParentWorkflow(IWorkflowEngine<WorkflowMeta> parentWorkflow)Sets the parent workflow.voidsetResult(Result result)voidsetSourceRows(List<RowMetaAndData> sourceRows)voidsetStartActionMeta(ActionMeta actionMeta)Sets the start action meta.voidsetStartActionResult(Result startActionResult)voidsetStopped(boolean stopped)Sets the stopped.voidsetWorkflowFinishedListeners(List<IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>>> workflowFinishedListeners)voidsetWorkflowMeta(WorkflowMeta workflowMeta)voidsetWorkflowRunConfiguration(WorkflowRunConfiguration workflowRunConfiguration)voidsetWorkflowStartedListeners(List<IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>>> workflowStartedListeners)voidsetWorkflowTracker(WorkflowTracker workflowTracker)ResultstartExecution()voidstopExecution()Stop all activity by setting the stopped property to true.StringtoString()Gets the name property of the WorkflowMeta property.-
Methods inherited from class org.apache.hop.core.variables.Variables
copyFrom, getADefaultVariableSpace, getVariable, getVariable, getVariableBoolean, getVariableNames, initializeFrom, resolve, resolve, resolve, setParentVariables, setVariable, setVariables, shareWith
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hop.core.variables.IVariables
copyFrom, getVariable, getVariable, getVariableBoolean, getVariableNames, initializeFrom, resolve, resolve, resolve, setParentVariables, setVariable, setVariables, shareWith
-
Methods inherited from interface org.apache.hop.workflow.engine.IWorkflowEngine
createDefaultWorkflowEngineRunConfiguration
-
-
-
-
Field Detail
-
PKG
protected static Class<?> PKG
-
CONFIGURATION_IN_EXPORT_FILENAME
public static final String CONFIGURATION_IN_EXPORT_FILENAME
- See Also:
- Constant Field Values
-
log
protected ILogChannel log
-
workflowRunConfiguration
protected WorkflowRunConfiguration workflowRunConfiguration
-
logLevel
protected LogLevel logLevel
-
containerObjectId
protected String containerObjectId
-
workflowMeta
protected WorkflowMeta workflowMeta
-
errors
protected AtomicInteger errors
-
parentWorkflow
protected IWorkflowEngine<WorkflowMeta> parentWorkflow
The workflow that's launching this (sub-) workflow. This gives us access to the whole chain, including the parent variables, etc.
-
parentPipeline
protected IPipelineEngine parentPipeline
The parent pipeline
-
parentLoggingObject
protected ILoggingObject parentLoggingObject
The parent logging interface to reference
-
workflowTracker
protected WorkflowTracker workflowTracker
Keep a list of the actions that were executed. org.apache.hop.core.logging.CentralLogStore.getInstance()
-
actionResults
protected final LinkedList<ActionResult> actionResults
A flat list of results in THIS workflow, in the order of execution of actions
-
executionStartDate
protected Date executionStartDate
-
executionEndDate
protected Date executionEndDate
-
sourceRows
protected List<RowMetaAndData> sourceRows
The rows that were passed onto this workflow by a previous pipeline. These rows are passed onto the first workflow entry in this workflow (on the result object)
-
result
protected Result result
The result of the workflow, after execution.
-
interactive
protected boolean interactive
-
workflowFinishedListeners
protected List<IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>>> workflowFinishedListeners
-
workflowStartedListeners
protected List<IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>>> workflowStartedListeners
-
actionListeners
protected List<IActionListener> actionListeners
-
activeActions
protected Set<ActionMeta> activeActions
-
namedParams
protected INamedParameters namedParams
Parameters of the workflow.
-
maxActionsLogged
protected int maxActionsLogged
-
startActionMeta
protected ActionMeta startActionMeta
-
startActionResult
protected Result startActionResult
-
executingServer
protected String executingServer
-
executingUser
protected String executingUser
-
status
protected AtomicInteger status
Int value for storage workflow statuses
-
metadataProvider
protected IHopMetadataProvider metadataProvider
-
-
Constructor Detail
-
Workflow
public Workflow(WorkflowMeta workflowMeta)
-
Workflow
public Workflow(WorkflowMeta workflowMeta, ILoggingObject parentLogging)
-
Workflow
public Workflow()
-
-
Method Detail
-
toString
public String toString()
Gets the name property of the WorkflowMeta property.
-
getWorkflowName
public String getWorkflowName()
- Specified by:
getWorkflowNamein interfaceIWorkflowEngine<WorkflowMeta>
-
startExecution
public Result startExecution()
- Specified by:
startExecutionin interfaceIWorkflowEngine<WorkflowMeta>
-
executeFromStart
public Result executeFromStart(int nr, Result result) throws HopException
Execute a workflow with previous results passed in.
Execute called by ActionWorkflow: don't clear the actionResults.- Parameters:
nr- The action numberresult- the result of the previous execution- Returns:
- Result of the workflow execution
- Throws:
HopWorkflowExceptionHopException
-
addWorkflowFinishedListener
public void addWorkflowFinishedListener(IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>> finishedListener)
- Specified by:
addWorkflowFinishedListenerin interfaceIWorkflowEngine<WorkflowMeta>
-
fireWorkflowFinishListeners
public void fireWorkflowFinishListeners() throws HopException- Specified by:
fireWorkflowFinishListenersin interfaceIWorkflowEngine<WorkflowMeta>- Throws:
HopException
-
addWorkflowStartedListener
public void addWorkflowStartedListener(IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>> finishedListener)
- Specified by:
addWorkflowStartedListenerin interfaceIWorkflowEngine<WorkflowMeta>
-
fireWorkflowStartedListeners
public void fireWorkflowStartedListeners() throws HopException- Specified by:
fireWorkflowStartedListenersin interfaceIWorkflowEngine<WorkflowMeta>- Throws:
HopException
-
getErrors
public int getErrors()
Get the number of errors that happened in the workflow.- Returns:
- nr of error that have occurred during execution. During execution of a workflow the number can change.
-
resetErrors
public void resetErrors()
Set the number of occured errors to 0.
-
addErrors
public void addErrors(int nrToAdd)
Add a number of errors to the total number of erros that occured during execution.- Parameters:
nrToAdd- nr of errors to add.
-
beginProcessing
public boolean beginProcessing() throws HopExceptionHandle logging at start- Returns:
- true if it went OK.
- Throws:
HopException
-
isInitialized
public boolean isInitialized()
- Specified by:
isInitializedin interfaceIWorkflowEngine<WorkflowMeta>
-
setInitialized
protected void setInitialized(boolean initialized)
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceIWorkflowEngine<WorkflowMeta>
-
setActive
protected void setActive(boolean active)
-
isStopped
public boolean isStopped()
- Specified by:
isStoppedin interfaceIWorkflowEngine<WorkflowMeta>
-
stopExecution
public void stopExecution()
Stop all activity by setting the stopped property to true.- Specified by:
stopExecutionin interfaceIWorkflowEngine<WorkflowMeta>
-
setStopped
public void setStopped(boolean stopped)
Sets the stopped.- Specified by:
setStoppedin interfaceIWorkflowEngine<WorkflowMeta>
-
isFinished
public boolean isFinished()
- Specified by:
isFinishedin interfaceIWorkflowEngine<WorkflowMeta>
-
setFinished
public void setFinished(boolean finished)
- Specified by:
setFinishedin interfaceIWorkflowEngine<WorkflowMeta>
-
getWorkflowMeta
public WorkflowMeta getWorkflowMeta()
- Specified by:
getWorkflowMetain interfaceIWorkflowEngine<WorkflowMeta>
-
setWorkflowMeta
public void setWorkflowMeta(WorkflowMeta workflowMeta)
- Specified by:
setWorkflowMetain interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
workflowMeta- The workflowMeta to set
-
getWorkflowTracker
public WorkflowTracker getWorkflowTracker()
- Specified by:
getWorkflowTrackerin interfaceIWorkflowEngine<WorkflowMeta>
-
setWorkflowTracker
public void setWorkflowTracker(WorkflowTracker workflowTracker)
-
getSourceRows
public List<RowMetaAndData> getSourceRows()
Gets sourceRows- Returns:
- value of sourceRows
-
setSourceRows
public void setSourceRows(List<RowMetaAndData> sourceRows)
- Specified by:
setSourceRowsin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
sourceRows- The sourceRows to set
-
getParentWorkflow
public IWorkflowEngine<WorkflowMeta> getParentWorkflow()
Gets the parent workflow.- Specified by:
getParentWorkflowin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- Returns the parentWorkflow
-
setParentWorkflow
public void setParentWorkflow(IWorkflowEngine<WorkflowMeta> parentWorkflow)
Sets the parent workflow.- Specified by:
setParentWorkflowin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
parentWorkflow- The parentWorkflow to set.
-
getParentVariables
public IVariables getParentVariables()
- Specified by:
getParentVariablesin interfaceIVariables- Overrides:
getParentVariablesin classVariables
-
getResult
public Result getResult()
- Specified by:
getResultin interfaceIWorkflowEngine<WorkflowMeta>
-
setResult
public void setResult(Result result)
- Specified by:
setResultin interfaceIWorkflowEngine<WorkflowMeta>
-
setInternalHopVariables
public void setInternalHopVariables()
- Specified by:
setInternalHopVariablesin interfaceIWorkflowEngine<WorkflowMeta>
-
setInternalHopVariables
public static final void setInternalHopVariables(IVariables variables, String filename, String name)
Sets the internal hop variables.- Parameters:
variables- the variables in which we want to set the internal variablesfilename- the filename if there is anyname- the name of the workflow
-
getStatusDescription
public String getStatusDescription()
- Specified by:
getStatusDescriptionin interfaceIWorkflowEngine<WorkflowMeta>
-
addActionListener
public void addActionListener(IActionListener actionListener)
- Specified by:
addActionListenerin interfaceIWorkflowEngine<WorkflowMeta>
-
removeActionListener
public void removeActionListener(IActionListener actionListener)
-
getActionListeners
public List<IActionListener> getActionListeners()
- Specified by:
getActionListenersin interfaceIWorkflowEngine<WorkflowMeta>
-
addParameterDefinition
public void addParameterDefinition(String key, String defValue, String description) throws DuplicateParamException
- Specified by:
addParameterDefinitionin interfaceINamedParameterDefinitions- Throws:
DuplicateParamException
-
getParameterDescription
public String getParameterDescription(String key) throws UnknownParamException
- Specified by:
getParameterDescriptionin interfaceINamedParameterDefinitions- Throws:
UnknownParamException
-
getParameterDefault
public String getParameterDefault(String key) throws UnknownParamException
- Specified by:
getParameterDefaultin interfaceINamedParameterDefinitions- Throws:
UnknownParamException
-
getParameterValue
public String getParameterValue(String key) throws UnknownParamException
- Specified by:
getParameterValuein interfaceINamedParameters- Throws:
UnknownParamException
-
listParameters
public String[] listParameters()
- Specified by:
listParametersin interfaceINamedParameterDefinitions
-
setParameterValue
public void setParameterValue(String key, String value) throws UnknownParamException
- Specified by:
setParameterValuein interfaceINamedParameters- Throws:
UnknownParamException
-
removeAllParameters
public void removeAllParameters()
- Specified by:
removeAllParametersin interfaceINamedParameterDefinitions- Specified by:
removeAllParametersin interfaceINamedParameters
-
clearParameterValues
public void clearParameterValues()
- Specified by:
clearParameterValuesin interfaceINamedParameters
-
activateParameters
public void activateParameters(IVariables variables)
- Specified by:
activateParametersin interfaceINamedParameters
-
copyParametersFromDefinitions
public void copyParametersFromDefinitions(INamedParameterDefinitions definitions)
- Specified by:
copyParametersFromDefinitionsin interfaceINamedParameters
-
getLogChannel
public ILogChannel getLogChannel()
Gets the log channel interface.- Specified by:
getLogChannelin interfaceIHasLogChannel- Specified by:
getLogChannelin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- ILogChannel
-
getObjectName
public String getObjectName()
Gets the workflow name.- Specified by:
getObjectNamein interfaceILoggingObject- Returns:
- workflowName
-
getObjectCopy
public String getObjectCopy()
Always returns null for Workflow.- Specified by:
getObjectCopyin interfaceILoggingObject- Returns:
- null
-
getFilename
public String getFilename()
Gets the file name.- Specified by:
getFilenamein interfaceILoggingObject- Returns:
- the filename
-
getLogChannelId
public String getLogChannelId()
Gets the log channel id.- Specified by:
getLogChannelIdin interfaceILoggingObject- Returns:
- the logChannelId
-
getObjectType
public LoggingObjectType getObjectType()
Gets LoggingObjectType.JOB, which is always the value for Workflow.- Specified by:
getObjectTypein interfaceILoggingObject- Returns:
- LoggingObjectType LoggingObjectType.JOB
-
getParent
public ILoggingObject getParent()
Gets parent logging object.- Specified by:
getParentin interfaceILoggingObject- Returns:
- parentLoggingObject
-
getLogLevel
public LogLevel getLogLevel()
Gets the logLevel.- Specified by:
getLogLevelin interfaceILoggingObject- Returns:
- logLevel
-
setLogLevel
public void setLogLevel(LogLevel logLevel)
Sets the log level.- Specified by:
setLogLevelin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
logLevel- the new log level
-
isInteractive
public boolean isInteractive()
Gets the boolean value of interactive.- Specified by:
isInteractivein interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- the interactive
-
setInteractive
public void setInteractive(boolean interactive)
Sets the value of interactive.- Specified by:
setInteractivein interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
interactive- the interactive to set
-
getActiveActions
public Set<ActionMeta> getActiveActions()
Gets the activeJobEntryPipelines.- Specified by:
getActiveActionsin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- the activeJobEntryPipelines
-
getActionResults
public List<ActionResult> getActionResults()
Gets a flat list of results in THIS workflow, in the order of execution of actions.- Specified by:
getActionResultsin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- A flat list of results in THIS workflow, in the order of execution of actions
-
getContainerId
public String getContainerId()
Gets the serverObjectId.- Specified by:
getContainerIdin interfaceILoggingObject- Specified by:
getContainerIdin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- the serverObjectId
-
setContainerId
public void setContainerId(String containerId)
Sets the execution container object id (containerObjectId).- Specified by:
setContainerIdin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
containerId- the execution container object id to set
-
getParentLoggingObject
public ILoggingObject getParentLoggingObject()
Gets the parent logging object.- Returns:
- the parent logging object
-
setParentLoggingObject
public void setParentLoggingObject(ILoggingObject parentLoggingObject)
- Parameters:
parentLoggingObject- The parentLoggingObject to set
-
getRegistrationDate
public Date getRegistrationDate()
Gets the registration date. For workflow, this always returns null- Specified by:
getRegistrationDatein interfaceILoggingObject- Returns:
- null
-
getStartActionMeta
public ActionMeta getStartActionMeta()
Gets the start action meta.- Returns:
- the startActionMeta
-
setStartActionMeta
public void setStartActionMeta(ActionMeta actionMeta)
Sets the start action meta.- Specified by:
setStartActionMetain interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
actionMeta- the startActionMeta to set
-
getExecutingServer
public String getExecutingServer()
Gets the executing server.- Specified by:
getExecutingServerin interfaceIExecutor- Returns:
- the executingServer
-
setExecutingServer
public void setExecutingServer(String executingServer)
Sets the executing server.- Specified by:
setExecutingServerin interfaceIExecutor- Parameters:
executingServer- the executingServer to set
-
getExecutingUser
public String getExecutingUser()
Gets the executing user.- Specified by:
getExecutingUserin interfaceIExecutor- Returns:
- the executingUser
-
setExecutingUser
public void setExecutingUser(String executingUser)
Sets the executing user.- Specified by:
setExecutingUserin interfaceIExecutor- Parameters:
executingUser- the executingUser to set
-
isGatheringMetrics
public boolean isGatheringMetrics()
- Specified by:
isGatheringMetricsin interfaceILoggingObject
-
setGatheringMetrics
public void setGatheringMetrics(boolean gatheringMetrics)
- Specified by:
setGatheringMetricsin interfaceILoggingObject
-
isForcingSeparateLogging
public boolean isForcingSeparateLogging()
- Specified by:
isForcingSeparateLoggingin interfaceILoggingObject
-
setForcingSeparateLogging
public void setForcingSeparateLogging(boolean forcingSeparateLogging)
- Specified by:
setForcingSeparateLoggingin interfaceILoggingObject
-
getParentPipeline
public IPipelineEngine getParentPipeline()
- Specified by:
getParentPipelinein interfaceIWorkflowEngine<WorkflowMeta>
-
setParentPipeline
public void setParentPipeline(IPipelineEngine parentPipeline)
- Specified by:
setParentPipelinein interfaceIWorkflowEngine<WorkflowMeta>
-
getExtensionDataMap
public Map<String,Object> getExtensionDataMap()
- Specified by:
getExtensionDataMapin interfaceIExtensionData- Specified by:
getExtensionDataMapin interfaceIWorkflowEngine<WorkflowMeta>
-
getStartActionResult
public Result getStartActionResult()
-
setStartActionResult
public void setStartActionResult(Result startActionResult)
-
getExecutionStartDate
public Date getExecutionStartDate()
Gets executionStartDate- Specified by:
getExecutionStartDatein interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of executionStartDate
-
setExecutionStartDate
public void setExecutionStartDate(Date executionStartDate)
- Parameters:
executionStartDate- The executionStartDate to set
-
getExecutionEndDate
public Date getExecutionEndDate()
Gets executionEndDate- Specified by:
getExecutionEndDatein interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of executionEndDate
-
setExecutionEndDate
public void setExecutionEndDate(Date executionEndDate)
- Parameters:
executionEndDate- The executionEndDate to set
-
getWorkflowFinishedListeners
public List<IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>>> getWorkflowFinishedListeners()
Gets workflowFinishedListeners- Specified by:
getWorkflowFinishedListenersin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of workflowFinishedListeners
-
setWorkflowFinishedListeners
public void setWorkflowFinishedListeners(List<IExecutionFinishedListener<IWorkflowEngine<WorkflowMeta>>> workflowFinishedListeners)
- Parameters:
workflowFinishedListeners- The workflowFinishedListeners to set
-
getWorkflowStartedListeners
public List<IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>>> getWorkflowStartedListeners()
Gets workflowStartedListeners- Specified by:
getWorkflowStartedListenersin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of workflowStartedListeners
-
setWorkflowStartedListeners
public void setWorkflowStartedListeners(List<IExecutionStartedListener<IWorkflowEngine<WorkflowMeta>>> workflowStartedListeners)
- Parameters:
workflowStartedListeners- The workflowStartedListeners to set
-
getWorkflowRunConfiguration
public WorkflowRunConfiguration getWorkflowRunConfiguration()
Gets workflowRunConfiguration- Specified by:
getWorkflowRunConfigurationin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of workflowRunConfiguration
-
setWorkflowRunConfiguration
public void setWorkflowRunConfiguration(WorkflowRunConfiguration workflowRunConfiguration)
- Specified by:
setWorkflowRunConfigurationin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
workflowRunConfiguration- The workflowRunConfiguration to set
-
getMetadataProvider
public IHopMetadataProvider getMetadataProvider()
Gets metadataProvider- Specified by:
getMetadataProviderin interfaceIWorkflowEngine<WorkflowMeta>- Returns:
- value of metadataProvider
-
setMetadataProvider
public void setMetadataProvider(IHopMetadataProvider metadataProvider)
- Specified by:
setMetadataProviderin interfaceIWorkflowEngine<WorkflowMeta>- Parameters:
metadataProvider- The metadataProvider to set
-
-