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, setBlockersaddAttribute, getAttributes, setAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlockersfindAttribute, getAttributespublic BasicJobflowInfo(String id)
id - the flow IDpublic String getId()
JobflowInfogetId in interface JobflowInfopublic void addTask(TaskInfo.Phase phase, TaskInfo task)
phase - the target phasetask - the taskpublic Collection<? extends TaskInfo> getTasks(TaskInfo.Phase phase)
JobflowInfogetTasks in interface JobflowInfophase - the target phaseCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.