| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INPUT_ATTRIBUTES_PROPERTY
Name of the property that contains the names of the input attributes.
|
static java.lang.String |
OUTPUT_NAME_PROPERTY
Name of the property that contains the type of the output (attribute/attachment).
|
static java.lang.String |
OUTPUT_TYPE_PROPERTY
Name of the property that contains the name of the output attribute or attachment.
|
static java.lang.String |
PRINT_PRETTY_PROPERTY
Name of the property that indicates to format the output for better readability.
|
| Constructor and Description |
|---|
JSONWriterPipelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AnyMap config)
Initializes parameters.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
public static final java.lang.String INPUT_ATTRIBUTES_PROPERTY
public static final java.lang.String OUTPUT_NAME_PROPERTY
public static final java.lang.String OUTPUT_TYPE_PROPERTY
public static final java.lang.String PRINT_PRETTY_PROPERTY
public void configure(AnyMap config) throws ProcessingException
configure in interface Pipeletconfig - 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[])