SMILA (incubation) API documentation

org.eclipse.smila.processing
Interface SimplePipelet

All Superinterfaces:
IPipelet
All Known Implementing Classes:
AddLiteralsPipelet, ASesameRecordPipelet, ATransformationPipelet, AXmlTransformationPipelet, CommitRecordsPipelet, CopyPipelet, CreateFileUriPipelet, CreateRelationPipelet, CreateResourcePipelet, HtmlToTextPipelet, RemoveElementFromXMLPipelet, SesameRecordReaderPipelet, SesameRecordWriterPipelet, SetAnnotationPipelet, SubAttributeExtractorPipelet, TidyPipelet, XmlSplitterPipelet, XPathExtractorPipelet, XPathFilterPipelet, XslTransformationPipelet

public interface SimplePipelet
extends IPipelet

Interface of SimplePipelets. SimplePipelets are not standalone services, but their lifecycle and configuration is managed by the workflow engine. They are not shared by multiple workflows, each occurrence of a pipelet in a workflow uses a different pipelet instance. SimplePipelets must have a public no-argument constructor. The pipelet class name must be registered in META-INF/MANIFEST.MF of the providing bundle using the header name "SMILA-Pipelets". Then they can be detected by the PipeletTracker service.

 SMILA-Pipelets: org.eclipse.smila.processing.bpel.pipelets.SimpleTestPipelet
 
Multiple classes can be registered separeted by comma:
 SMILA-Pipelets: org.eclipse.smila.processing.test.Test1Pipelet,org.eclipse.smila.processing.test.Test2Pipelet
 

Author:
jschumacher

Method Summary
 Id[] process(Blackboard blackboard, Id[] recordIds)
          process records on Blackboard service.
 
Methods inherited from interface org.eclipse.smila.processing.IPipelet
configure
 

Method Detail

process

Id[] process(Blackboard blackboard,
             Id[] recordIds)
             throws ProcessingException
process records on Blackboard service.

Parameters:
blackboard - Blackboard service managing the records.
recordIds - Ids of records to process.
Returns:
Ids of result records.
Throws:
ProcessingException - error during processing.

SMILA (incubation) API documentation