| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMMAND_PROPERTY
The name of the property that contains the program (including its path).
|
static java.lang.String |
DIRECTORY_PROPERTY
The name of the property that contains the working directory for the command.
|
static java.lang.String |
ERROR_ATTACHMENT_PROPERTY
The name of the property that contains the name of attachment that receives the error output of the program.
|
static java.lang.String |
EXIT_CODE_ATTRIBUTE_PROPERTY
The name of the property that contains the name of attribute that receives the exit code of the program.
|
static java.lang.String |
FAIL_ON_ERROR_PROPERTY
The name of the property that indicates to mark a record as failed if the program returns an error code.
|
static java.lang.String |
INPUT_ATTACHMENT_PROPERTY
The name of the property that contains the name of the input attribute or attachment for the program.
|
static java.lang.String |
OUTPUT_ATTACHMENT_PROPERTY
The name of the property that contains the name of attachment that receives the standard output of the program.
|
static java.lang.String |
PARAMETERS_ATTRIBUTE_PROPERTY
The name of the property that contains the attribute name of the parameters to execute.
|
static java.lang.String |
PARAMETERS_PROPERTY
The name of the property that contains the parameters to execute (ignored if the content of the parameter attribute
exists).
|
| Constructor and Description |
|---|
ExecPipelet() |
| 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 COMMAND_PROPERTY
public static final java.lang.String DIRECTORY_PROPERTY
public static final java.lang.String PARAMETERS_PROPERTY
public static final java.lang.String PARAMETERS_ATTRIBUTE_PROPERTY
public static final java.lang.String INPUT_ATTACHMENT_PROPERTY
public static final java.lang.String OUTPUT_ATTACHMENT_PROPERTY
public static final java.lang.String ERROR_ATTACHMENT_PROPERTY
public static final java.lang.String EXIT_CODE_ATTRIBUTE_PROPERTY
public static final java.lang.String FAIL_ON_ERROR_PROPERTY
public void configure(AnyMap configuration) throws ProcessingException
Pipeletconfigure in interface Pipeletconfiguration - configuration of pipelet.ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)Pipelet.configure(AnyMap)public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
Pipeletprocess in interface Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.Pipelet.process(Blackboard, String[])