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, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAttribute, getAttributes
public BasicBatchMirror(String batchId)
batchId
- the batch IDpublic String getId()
BatchInfo
public Collection<JobflowMirror> getElements()
BatchInfo
getElements
in interface BatchMirror
getElements
in interface BatchInfo
public Optional<JobflowMirror> findElement(String flowId)
BatchInfo
findElement
in interface BatchMirror
findElement
in interface BatchInfo
flowId
- the target flow IDnull
if it is not foundpublic void addElement(JobflowMirror element)
element
- the elementCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.