public class OutputProcessorPort extends AbstractGranularDepthPort implements SenderPort, ProcessorPort, OutputPort, GranularDepthPort
OutputProcessorPort
is a Processor
.AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
INVALID_NAME
Constructor and Description |
---|
OutputProcessorPort()
Constructs an
OutputProcessorPort with a random UUID as the
name. |
OutputProcessorPort(Processor parent,
String name)
Constructs an
OutputProcessorPort for the specified
Processor with the specified name. |
Modifier and Type | Method and Description |
---|---|
List<DataLink> |
getDatalinksFrom()
Get the datalinks leading from this port.
|
Processor |
getParent() |
void |
setParent(Processor parent)
Sets the parent of this workflow bean.
|
cloneInto, getGranularDepth, setGranularDepth
accept, getDepth, setDepth
compareTo, equals, getAnnotations, getName, getRelativeURI, getURI, hashCode, setName, toString
clone, cloneWorkflowBean, getTools, getUriTools
finalize, getClass, notify, notifyAll, wait, wait, wait
getGranularDepth, setGranularDepth
accept, clone
compareTo
public OutputProcessorPort()
OutputProcessorPort
with a random UUID as the
name.public OutputProcessorPort(Processor parent, String name)
OutputProcessorPort
for the specified
Processor
with the specified name.
The OutputPort
is added to the Processor
(if
the Processor
is not null
).
parent
- the Processor
to add this Port
to.
Can be null
name
- the name of the Port
. Must not
be null
or an empty String.public Processor getParent()
public void setParent(Processor parent)
Child
Setting the parent would normally also add the object to the relevant collection in the parent if it does not already exist there.
If the child has an existing, object-identity different parent, the child will first be removed from the parent collection if it exists there.
Note:If the child is Named
the parent collection
will be a NamedSet
. This implicit insertion would overwrite any
conflicting sibling with the same Named.getName()
- to avoid
this, add the child to the parent collection by using
NamedSet.addWithUniqueName(Named)
before setting the parent.
public List<DataLink> getDatalinksFrom()
Scufl2Tools.datalinksFrom(SenderPort)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.