public interface TaskMetaData<W extends Work,D extends Enum<D>,F extends Enum<F>> extends JobMetaData
Task
.Modifier and Type | Method and Description |
---|---|
JobNode |
createTaskNode(JobSequence flow,
WorkContainer<W> workContainer,
JobNode parallelJobNodeOwner,
Object parameter,
GovernanceDeactivationStrategy governanceDeactivationStrategy)
|
Object |
getDifferentiator()
Obtains the differentiator for the
Task . |
FlowMetaData<?> |
getFlow(int flowIndex)
Obtains the
FlowMetaData of the specified JobSequence . |
Class<?> |
getParameterType()
Obtains the parameter type for the
Task . |
TaskDutyAssociation<?>[] |
getPostAdministrationMetaData()
Meta-data of the
Administrator to undertake after executing the
Task . |
TaskDutyAssociation<?>[] |
getPreAdministrationMetaData()
|
boolean[] |
getRequiredGovernance()
Obtains the activation flags for the
Governance . |
ManagedObjectIndex[] |
getRequiredManagedObjects()
Obtains the
ManagedObjectIndex instances identifying the
ManagedObject instances that must be loaded before the
Task may be executed. |
TaskFactory<W,D,F> |
getTaskFactory()
|
String |
getTaskName()
Obtains the name of this
Task . |
WorkMetaData<W> |
getWorkMetaData()
Obtains the
WorkMetaData for this Task . |
ManagedObjectIndex |
translateManagedObjectIndexForWork(int taskMoIndex)
|
createJobActivableSet, getContinueTeam, getEscalationProcedure, getJobName, getNextTaskInFlow, getResponsibleTeam
TaskFactory<W,D,F> getTaskFactory()
TaskFactory
Object getDifferentiator()
Task
.null
if no differentiator.Class<?> getParameterType()
Task
.Task
. May be null
to
indicate no parameter.ManagedObjectIndex[] getRequiredManagedObjects()
ManagedObjectIndex
instances identifying the
ManagedObject
instances that must be loaded before the
Task
may be executed.ManagedObjectIndex
instances.boolean[] getRequiredGovernance()
Governance
. The index into
the array identifies the Governance
for the respective activation
flag.Governance
.ManagedObjectIndex translateManagedObjectIndexForWork(int taskMoIndex)
taskMoIndex
- ManagedObject
index of the Task
.ManagedObjectIndex
identifying the ManagedObject
for the Task
index.FlowMetaData<?> getFlow(int flowIndex)
FlowMetaData
of the specified JobSequence
.flowIndex
- Index of the JobSequence
.FlowMetaData
of the specified JobSequence
.WorkMetaData<W> getWorkMetaData()
WorkMetaData
for this Task
.WorkMetaData
for this Task
.TaskDutyAssociation<?>[] getPreAdministrationMetaData()
TaskDutyAssociation<?>[] getPostAdministrationMetaData()
Administrator
to undertake after executing the
Task
.JobNode createTaskNode(JobSequence flow, WorkContainer<W> workContainer, JobNode parallelJobNodeOwner, Object parameter, GovernanceDeactivationStrategy governanceDeactivationStrategy)
flow
- JobSequence
containing the Task
.workContainer
- WorkContainer
for the Work
for the
Task
.parallelJobNodeOwner
- Parallel JobNode
owner.parameter
- Parameter.governanceDeactivationStrategy
- GovernanceDeactivationStrategy
.JobNode
.Copyright © 2005–2016. All rights reserved.