blob: 6d88450c8649e71a3024b40548910572da4056c6 [file] [log] [blame]
{
"class" : "org.eclipse.smila.processing.pipelets.CopyPipelet",
"parameters": [
{
"name": "inputType",
"type": "string",
"values": ["ATTACHMENT", "ATTRIBUTE"],
"description": "selects if the input is found in an attachment or attribute of the record "
},
{
"name": "outputType",
"type": "string",
"values": ["ATTACHMENT", "ATTRIBUTE"],
"description": "selects if output should be stored in an attachment or attribute of the record "
},
{
"name": "inputName",
"type": "string",
"description": "name of input attachment or path to input attribute (process a String literal of attribute) "
},
{
"name": "outputName",
"type": "string",
"description": "name of output attachment or path to output attribute for plain text (store result as String literal of attribute) "
},
{
"name": "mode",
"type": "string",
"values": ["COPY", "MOVE"],
"optional": true,
"description": "execution mode. Copy the value or move (copy and delete) the value. Default is COPY."
}
],
"description": "This pipelet can be used to copy a string value between attributes and/or attachments. It supports two execution modes: COPY: copy the value from the input attribute/attachment to the output attribute/attachment, MOVE: same as COPY, but after that delete the value from the input attribute/attachment"
}