|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Pipelet
Interface of Pipelets. 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.
Pipelets must have a public no-argument constructor.
The pipelet class name must be registered in a pipelet description file (ending with "*.json", please note the lower
cases) in a folder SMILA-INF of the providing bundle. Then they can be detected by the PipeletTracker
service.
SMILA-INF/SimpleTestPipelet.json:
{
"class" : "org.eclipse.smila.processing.bpel.pipelets.SimpleTestPipelet"
}
| Method Summary | |
|---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. |
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records. |
| Method Detail |
|---|
void configure(AnyMap configuration)
throws ProcessingException
configuration - configuration of pipelet.
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)
java.lang.String[] process(Blackboard blackboard,
java.lang.String[] recordIds)
throws ProcessingException
blackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||