public abstract class AbstractExecution extends Object implements Execution
Execution
.Constructor and Description |
---|
AbstractExecution(WorkflowBundle workflowBundle,
Workflow workflow,
Profile profile,
Bundle dataBundle)
Constructs an abstract implementation of an Execution.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ActivityReport |
createActivityReport(Activity activity) |
protected abstract ProcessorReport |
createProcessorReport(Processor processor) |
protected abstract WorkflowReport |
createWorkflowReport(Workflow workflow) |
WorkflowReport |
generateWorkflowReport(Workflow workflow) |
Bundle |
getDataBundle()
Returns the
Bundle containing the data values for the Workflow . |
String |
getID()
Returns the identifier for this execution.
|
Profile |
getProfile()
Returns the
Profile to use when executing the Workflow . |
Workflow |
getWorkflow()
Returns the
Workflow to execute. |
WorkflowBundle |
getWorkflowBundle()
Returns the
WorkflowBundle containing the Workflow s required for execution. |
WorkflowReport |
getWorkflowReport()
Returns the
WorkflowReport for the execution. |
public AbstractExecution(WorkflowBundle workflowBundle, Workflow workflow, Profile profile, Bundle dataBundle)
workflowBundle
- the WorkflowBundle
containing the Workflow
s required for
executionworkflow
- the Workflow
to executeprofile
- the Profile
to use when executing the Workflow
dataBundle
- the Bundle
containing the data values for the Workflow
InvalidWorkflowException
- if the specified workflow is invalidprotected abstract WorkflowReport createWorkflowReport(Workflow workflow)
protected abstract ProcessorReport createProcessorReport(Processor processor)
protected abstract ActivityReport createActivityReport(Activity activity)
public WorkflowReport generateWorkflowReport(Workflow workflow)
public String getID()
Execution
public WorkflowBundle getWorkflowBundle()
Execution
WorkflowBundle
containing the Workflow
s required for execution.getWorkflowBundle
in interface Execution
WorkflowBundle
containing the Workflow
s required for executionpublic Bundle getDataBundle()
Execution
Bundle
containing the data values for the Workflow
.getDataBundle
in interface Execution
Bundle
containing the data values for the Workflow
public Workflow getWorkflow()
Execution
Workflow
to execute.getWorkflow
in interface Execution
Workflow
to executepublic Profile getProfile()
Execution
Profile
to use when executing the Workflow
.getProfile
in interface Execution
Profile
to use when executing the Workflow
public WorkflowReport getWorkflowReport()
Execution
WorkflowReport
for the execution.getWorkflowReport
in interface Execution
WorkflowReport
for the executionCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.