public class BasicBatchInfo extends AbstractElement implements BatchInfo
BatchInfo.Element.Attribute| Constructor and Description |
|---|
BasicBatchInfo(String id)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(JobflowInfo element)
Adds an element.
|
Optional<? extends JobflowInfo> |
findElement(String flowId)
Returns an element.
|
Collection<? extends JobflowInfo> |
getElements()
Returns the element jobflows.
|
String |
getId()
Returns the batch ID of this batch.
|
addAttribute, getAttributes, setAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAttribute, getAttributespublic BasicBatchInfo(String id)
id - the batch IDpublic String getId()
BatchInfopublic Collection<? extends JobflowInfo> getElements()
BatchInfogetElements in interface BatchInfopublic Optional<? extends JobflowInfo> findElement(String flowId)
BatchInfofindElement in interface BatchInfoflowId - the target flow IDnull if it is not foundpublic void addElement(JobflowInfo element)
element - the elementCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.