public class BasicBatchMirror extends AbstractMirror implements BatchMirror
BatchMirror.Element.Attribute| Constructor and Description |
|---|
BasicBatchMirror(String batchId)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(JobflowMirror element)
Adds an element.
|
Optional<JobflowMirror> |
findElement(String flowId)
Returns an element.
|
Collection<JobflowMirror> |
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 BasicBatchMirror(String batchId)
batchId - the batch IDpublic String getId()
BatchInfopublic Collection<JobflowMirror> getElements()
BatchInfogetElements in interface BatchMirrorgetElements in interface BatchInfopublic Optional<JobflowMirror> findElement(String flowId)
BatchInfofindElement in interface BatchMirrorfindElement in interface BatchInfoflowId - the target flow IDnull if it is not foundpublic void addElement(JobflowMirror element)
element - the elementCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.