@Service @Properties(value=@Property(name="process.label",value="XMP Writeback")) public class XMPWritebackProcess extends AbstractAssetWorkflowProcess
XMPWritebackProcess
writes back meta data to the original binary
This process is executed on any changes made under the metadata node {/content/dam(...)/metadata}.
Modifier and Type | Class and Description |
---|---|
static class |
XMPWritebackProcess.Arguments |
TYPE_JCR_PATH
Constructor and Description |
---|
XMPWritebackProcess() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
buildArguments(MetaDataMap metaData) |
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaDataMap)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaDataMap) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- The WorkflowSession
that is used for starting the JavaProcess
.metaDataMap
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.public java.lang.String[] buildArguments(MetaDataMap metaData)
Copyright © 2010 - 2020 Adobe. All Rights Reserved