public class BasicJobflowInfo extends AbstractGraphElement<JobflowInfo> implements JobflowInfo
Element.Attribute
Constructor and Description |
---|
BasicJobflowInfo(String id)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addTask(TaskInfo.Phase phase,
TaskInfo task)
Adds a task.
|
String |
getId()
The flow ID of this jobflow.
|
Collection<? extends TaskInfo> |
getTasks(TaskInfo.Phase phase)
Returns tasks of this jobflow.
|
addBlocker, getBlockers, setBlockers
addAttribute, getAttributes, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlockers
findAttribute, getAttributes
public BasicJobflowInfo(String id)
id
- the flow IDpublic String getId()
JobflowInfo
getId
in interface JobflowInfo
public void addTask(TaskInfo.Phase phase, TaskInfo task)
phase
- the target phasetask
- the taskpublic Collection<? extends TaskInfo> getTasks(TaskInfo.Phase phase)
JobflowInfo
getTasks
in interface JobflowInfo
phase
- the target phaseCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.