public abstract class AbstractGranularDepthPort extends AbstractDepthPort implements GranularDepthPort
Port
that has a granular depth
property.
The granular depth of a Port
specifies the granularity of the
depth at which data is emitted. The granular depth must be less than or equal
to the depth.
For example, if a Port
has a depth of 1 and a granular depth of
0 the Port
will emit each element of the list separately.
AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
INVALID_NAME
Constructor and Description |
---|
AbstractGranularDepthPort()
Constructs an
AbstractGranularDepthPort with a random UUID
as the name. |
AbstractGranularDepthPort(String name)
Constructs an
AbstractGranularDepthPort with the specified
name. |
Modifier and Type | Method and Description |
---|---|
protected void |
cloneInto(WorkflowBean clone,
AbstractCloneable.Cloning cloning) |
Integer |
getGranularDepth()
Returns the granular depth of the
Port . |
void |
setGranularDepth(Integer granularDepth)
Sets the granular depth of the
Port . |
accept, getDepth, setDepth
compareTo, equals, getAnnotations, getName, getRelativeURI, getURI, hashCode, setName, toString
clone, cloneWorkflowBean, getTools, getUriTools
finalize, getClass, notify, notifyAll, wait, wait, wait
accept, clone
compareTo
public AbstractGranularDepthPort()
AbstractGranularDepthPort
with a random UUID
as the name.public AbstractGranularDepthPort(String name)
AbstractGranularDepthPort
with the specified
name.name
- the name of the Port
. Must not
be null
or an empty String.public Integer getGranularDepth()
Port
.getGranularDepth
in interface GranularDepthPort
Port
public void setGranularDepth(Integer granularDepth)
Port
.setGranularDepth
in interface GranularDepthPort
granularDepth
- the granular depth of the Port
protected void cloneInto(WorkflowBean clone, AbstractCloneable.Cloning cloning)
cloneInto
in class AbstractDepthPort
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.