SMILA 1.0 API documentation

org.eclipse.smila.processing.pipelets
Class AddValuesPipelet

java.lang.Object
  extended by org.eclipse.smila.processing.pipelets.AddValuesPipelet
All Implemented Interfaces:
Pipelet

public class AddValuesPipelet
extends java.lang.Object
implements Pipelet

Add values to an attribute.


Constructor Summary
AddValuesPipelet()
           
 
Method Summary
 void configure(AnyMap configuration)
          set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.
 java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds)
          add Any values to an attribute as described in pipelet config or parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddValuesPipelet

public AddValuesPipelet()
Method Detail

process

public java.lang.String[] process(Blackboard blackboard,
                                  java.lang.String[] recordIds)
                           throws ProcessingException
add Any values to an attribute as described in pipelet config or parameters.

Specified by:
process in interface Pipelet
Parameters:
blackboard - Blackboard holding and managing the records.
recordIds - Ids of records to process.
Returns:
Ids of records to be passed into the next pipelet. By default this should be the same as the passed in recordIds unless there is a specific (businesslogic) reason not to do so.
Throws:
ProcessingException - error during processing.

configure

public void configure(AnyMap configuration)
               throws ProcessingException
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.

Specified by:
configure in interface Pipelet
Parameters:
configuration - configuration of pipelet.
Throws:
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)

SMILA 1.0 API documentation