public class LimboInstanceSink extends Object implements InstanceSink
Constructor and Description |
---|
LimboInstanceSink() |
Modifier and Type | Method and Description |
---|---|
void |
addInstance(Instance instance)
Adds an instance to the sink
|
void |
done(boolean cancel)
Called if the transformation is done or cancelled.
|
InstanceCollection |
getInstanceCollection()
Returns the associated instance collection, whose iterator will receive
the instances that are added to the instance sink.
|
public void addInstance(Instance instance)
InstanceSink
addInstance
in interface InstanceSink
instance
- the instance to addInstanceSink.addInstance(eu.esdihumboldt.hale.common.instance.model.Instance)
public void done(boolean cancel)
addInstance(Instance)
result in undetermined behavior.cancel
- whether the operation was cancelled or simply finishedpublic InstanceCollection getInstanceCollection()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a