Constructor and Description |
---|
RunProfile(ExecutionEnvironment executionEnvironment,
WorkflowBundle workflowBundle,
Bundle dataBundle)
Constructs a
RunProfile that specifies the parameters
required to run a Workflow . |
RunProfile(ExecutionEnvironment executionEnvironment,
WorkflowBundle workflowBundle,
String workflowName,
String profileName,
Bundle dataBundle)
Constructs a
RunProfile that specifies the parameters
required to run a Workflow . |
Modifier and Type | Method and Description |
---|---|
Bundle |
getDataBundle()
Returns the
Bundle containing the data values for the
Workflow . |
ExecutionEnvironment |
getExecutionEnvironment()
Returns the
ExecutionEnvironment used to execute the
Workflow . |
String |
getProfileName()
Returns the name of the
Profile to use when running the
Workflow . |
WorkflowBundle |
getWorkflowBundle()
Returns the
WorkflowBundle . |
String |
getWorkflowName()
Returns the name of the
Workflow to run. |
void |
setDataBundle(Bundle dataBundle)
Sets the
Bundle containing the data values for the
Workflow . |
void |
setExecutionEnvironment(ExecutionEnvironment executionEnvironment)
Sets the
ExecutionEnvironment used to execute the
Workflow . |
void |
setProfileName(String profileName)
Sets the name of the
Profile to use when running the
Workflow . |
void |
setWorkflowBundle(WorkflowBundle workflowBundle)
Sets the
WorkflowBundle containing the Workflow
to run. |
void |
setWorkflowName(String workflowName)
Sets the name of the
Workflow to run. |
public RunProfile(ExecutionEnvironment executionEnvironment, WorkflowBundle workflowBundle, Bundle dataBundle)
RunProfile
that specifies the parameters
required to run a Workflow
. The
main Workflow
and Profile
from the
WorkflowBundle
are used.executionEnvironment
- the ExecutionEnvironment
used to execute the
Workflow
workflowBundle
- the WorkflowBundle
containing the
Workflow
to rundataBundle
- the Bundle
containing the data values for the
Workflow
public RunProfile(ExecutionEnvironment executionEnvironment, WorkflowBundle workflowBundle, String workflowName, String profileName, Bundle dataBundle)
RunProfile
that specifies the parameters
required to run a Workflow
.executionEnvironment
- the ExecutionEnvironment
used to execute the
Workflow
workflowBundle
- the WorkflowBundle
containing the
Workflow
to runworkflow
- the Workflow
to run. If null
uses
the main Workflow
from the
WorkflowBundle
profile
- the Profile
to use
when running the Workflow
. If null uses the main
Profile
from the WorkflowBundle
dataBundle
- the Bundle
containing the data values for the
Workflow
public WorkflowBundle getWorkflowBundle()
WorkflowBundle
.WorkflowBundle
public void setWorkflowBundle(WorkflowBundle workflowBundle)
WorkflowBundle
containing the Workflow
to run.workflowBundle
- the WorkflowBundle
containing the
Workflow
to runpublic String getWorkflowName()
Workflow
to run. If no
Workflow
name is set the main Workflow
from the
WorkflowBundle
will be run.Workflow
to runpublic void setWorkflowName(String workflowName)
Workflow
to run. If no
Workflow
name is set the main Workflow
from the
WorkflowBundle
will be run.workflowName
- the name of the Workflow
to runpublic String getProfileName()
Profile
to use when running the
Workflow
. If no Profile
name is set the main
Profile
from the WorkflowBundle
will be used.Profile
to use when running the
Workflow
public void setProfileName(String profileName)
Profile
to use when running the
Workflow
.
If no Profile
name is set the main Profile
from
the WorkflowBundle
will be used.
profileName
- the name of the Profile
to use when running the
Workflow
public Bundle getDataBundle()
Bundle
containing the data values for the
Workflow
.Bundle
containing the data values for the
Workflow
public void setDataBundle(Bundle dataBundle)
Bundle
containing the data values for the
Workflow
.dataBundle
- the Bundle
containing the data values for the
Workflow
public ExecutionEnvironment getExecutionEnvironment()
ExecutionEnvironment
used to execute the
Workflow
.ExecutionEnvironment
used to execute the
Workflow
public void setExecutionEnvironment(ExecutionEnvironment executionEnvironment)
ExecutionEnvironment
used to execute the
Workflow
.executionEnvironment
- the ExecutionEnvironment
used to execute the
Workflow
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.