SMILA 1.0 API documentation

org.eclipse.smila.processing.pipelets
Class ScriptPipelet.ResultIDs

java.lang.Object
  extended by org.eclipse.smila.processing.util.ResultCollector
      extended by org.eclipse.smila.processing.pipelets.ScriptPipelet.ResultIDs
Enclosing class:
ScriptPipelet

public static final class ScriptPipelet.ResultIDs
extends ResultCollector

An enhanced result collector that is able to drop the current record.


Constructor Summary
ScriptPipelet.ResultIDs(ParameterAccessor paramAccessor, Log log, boolean dropRecordOnError)
          Creates a new instance of ResultIDs.
 
Method Summary
 void excludeCurrentRecord()
          Call to remove the current record id from the list of result ids.
 
Methods inherited from class org.eclipse.smila.processing.util.ResultCollector
addFailedResult, addResult, getResultIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPipelet.ResultIDs

public ScriptPipelet.ResultIDs(ParameterAccessor paramAccessor,
                               Log log,
                               boolean dropRecordOnError)
Creates a new instance of ResultIDs.

Parameters:
paramAccessor - accessor of the hosting config, needed to access failOnError parameter
log - the log for which to log the error results
dropRecordOnError - indicates to drop records if the fail
Method Detail

excludeCurrentRecord

public void excludeCurrentRecord()
Call to remove the current record id from the list of result ids.


SMILA 1.0 API documentation