| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptPipelet.ResultIDs
An enhanced result collector that is able to drop the current record.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_RESULT_ATTRIBUTE
Name of the property that will receive the result of the script.
|
static java.lang.String |
PROPERTY_SCRIPT
Name of the property that contains the script.
|
static java.lang.String |
PROPERTY_SCRIPT_FILE
Name of the property that contains the script file.
|
static java.lang.String |
PROPERTY_TYPE
Name of the property that contains the script language.
|
| Constructor and Description |
|---|
ScriptPipelet() |
| 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)
process given records.
|
public static final java.lang.String PROPERTY_SCRIPT
public static final java.lang.String PROPERTY_SCRIPT_FILE
public static final java.lang.String PROPERTY_TYPE
public static final java.lang.String PROPERTY_RESULT_ATTRIBUTE
public void configure(AnyMap configuration) throws ProcessingException
configure in interface Pipeletconfiguration - 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 Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.