public interface DutyBuilder
Builder to build a Duty
.
All linked JobSequence
instances will be instigated in parallel.
Modifier and Type | Method and Description |
---|---|
<F extends Enum<F>> |
linkFlow(F key,
String workName,
String taskName,
Class<?> argumentType)
|
void |
linkFlow(int flowIndex,
String workName,
String taskName,
Class<?> argumentType)
|
<G extends Enum<G>> |
linkGovernance(G key,
String governanceName)
Links a
Governance . |
void |
linkGovernance(int governanceIndex,
String governanceName)
Links a
Governance . |
<F extends Enum<F>> void linkFlow(F key, String workName, String taskName, Class<?> argumentType)
F
- Flow key type.key
- Key identifying the JobSequence
.workName
- Name of the Work
that the first Task
of the
JobSequence
resides on.taskName
- Name of Task
that resides on the Work
.argumentType
- Type of argument passed to the instigated JobSequence
.
May be null
to indicate no argument.void linkFlow(int flowIndex, String workName, String taskName, Class<?> argumentType)
flowIndex
- Index identifying the JobSequence
.workName
- Name of the Work
that the first Task
of the
JobSequence
resides on.taskName
- Name of Task
that resides on the Work
.argumentType
- Type of argument passed to the instigated JobSequence
.
May be null
to indicate no argument.<G extends Enum<G>> void linkGovernance(G key, String governanceName)
Governance
.G
- Governance
key type.key
- Key for the Duty
to identify the Governance
.governanceName
- Name of the Governance
.void linkGovernance(int governanceIndex, String governanceName)
Governance
.governanceIndex
- Index for the Duty
to identify the Governance
.governanceName
- Name of the Governance
.Copyright © 2005–2016. All rights reserved.