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