Constructor and Description |
---|
CommitRecordsPipelet() |
Modifier and Type | Method and Description |
---|---|
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)
set configured annotation on each record on blackboard as specified by the recordIds.
|
public void configure(AnyMap configuration) throws ProcessingException
configure
in interface Pipelet
configuration
- configuration of pipelet.ProcessingException
- configuration is not applicable for pipelet (missing properties, wrong datatypes)public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
process
in interface Pipelet
blackboard
- Blackboard holding and managing the records.recordIds
- Ids of records to process.ProcessingException
- error during processing.org.eclipse.smila.processing.Pipelet#process(org.eclipse.smila.blackboard.Blackboard,
org.eclipse.smila.datamodel.id.Id[])