public class ProcessorInputPortBinding extends ProcessorPortBinding<InputActivityPort,InputProcessorPort>
ProcessorInputPortBinding
specifies the
InputActivityPort
to which data passed into an
InputProcessorPort
is sent.
Note that the InputProcessorPort
must be a
Port
of the
Processor
of the parent
ProcessorBinding
. The InputActivityPort
must be a
Port
of the Activity
of the parent ProcessorBinding
.AbstractCloneable.Cloning, AbstractCloneable.CopyVisitor
Constructor and Description |
---|
ProcessorInputPortBinding()
Constructs a
ProcessorInputPortBinding with no binding set. |
ProcessorInputPortBinding(ProcessorBinding processorBinding,
InputProcessorPort processorPort,
InputActivityPort activityPort)
Constructs a
ProcessorInputPortBinding for the specified
ProcessorBinding . |
Modifier and Type | Method and Description |
---|---|
InputActivityPort |
getBoundActivityPort()
Returns the
InputActivityPort to which data is actually sent
when passed to the bound InputProcessorPort . |
InputProcessorPort |
getBoundProcessorPort()
Returns the
InputProcessorPort that the binding is for. |
ProcessorBinding |
getParent()
Returns the parent of this workflow bean, or
null if it is orphan. |
void |
setBoundActivityPort(InputActivityPort boundActivityPort)
Sets the
InputActivityPort to which data is actually sent
when passed to the bound InputProcessorPort . |
void |
setBoundProcessorPort(InputProcessorPort boundProcessorPort)
Sets the InputProcessorPort that the binding is for.
|
void |
setParent(ProcessorBinding parent)
Sets the parent of this workflow bean.
|
String |
toString() |
accept, cloneInto
clone, cloneWorkflowBean
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public ProcessorInputPortBinding()
ProcessorInputPortBinding
with no binding set.public ProcessorInputPortBinding(ProcessorBinding processorBinding, InputProcessorPort processorPort, InputActivityPort activityPort)
ProcessorInputPortBinding
for the specified
ProcessorBinding
.processorBinding
- the ProcessorBinding
to add this
ProcessorInputPortBinding
to. Can be
null
processorPort
- the bound InputProcessorPort
. Can be
null
activityPort
- the bound InputActivityPort
. Can be
null
public InputActivityPort getBoundActivityPort()
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
.getBoundActivityPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
public InputProcessorPort getBoundProcessorPort()
InputProcessorPort
that the binding is for.getBoundProcessorPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
InputProcessorPort
that the binding is forpublic ProcessorBinding getParent()
Child
null
if it is orphan.null
if it is orphanpublic void setBoundActivityPort(InputActivityPort boundActivityPort)
InputActivityPort
to which data is actually sent
when passed to the bound InputProcessorPort
.setBoundActivityPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
boundActivityPort
- the InputActivityPort
to which data is actually
sent when passed to the bound InputProcessorPort
public void setBoundProcessorPort(InputProcessorPort boundProcessorPort)
setBoundProcessorPort
in class ProcessorPortBinding<InputActivityPort,InputProcessorPort>
boundProcessorPort
- the InputProcessorPort that the binding is forpublic void setParent(ProcessorBinding 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.
parent
- the parent of this workflow beanCopyright © 2014 myGrid. All rights reserved.