| Modifier and Type | Class and Description |
|---|---|
static class |
ReplacePipelet.Type
The type of the replacement.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_IGNORE_CASE
Name of the property that indicates to ignore case.
|
static java.lang.String |
PROPERTY_INPUT_ATTRIBUTE
Name of the property that contains the input attribute name.
|
static java.lang.String |
PROPERTY_MAPPING
Name of the property that contains the mapping from pattern to replacement.
|
static java.lang.String |
PROPERTY_OUTPUT_ATTRIBUTE
Name of the property that contains the output attribute name.
|
static java.lang.String |
PROPERTY_PATTERN
Name of the property that contains the pattern.
|
static java.lang.String |
PROPERTY_REPLACEMENT
Name of the property that contains the substitution.
|
static java.lang.String |
PROPERTY_TYPE
Name of the property that contains the type of the pattern.
|
| Constructor and Description |
|---|
ReplacePipelet() |
| 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_INPUT_ATTRIBUTE
public static final java.lang.String PROPERTY_OUTPUT_ATTRIBUTE
public static final java.lang.String PROPERTY_TYPE
public static final java.lang.String PROPERTY_MAPPING
public static final java.lang.String PROPERTY_PATTERN
public static final java.lang.String PROPERTY_REPLACEMENT
public static final java.lang.String PROPERTY_IGNORE_CASE
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.