@Service @Property(name="process.label", value="Metadata Processor") public class MetadataProcessorProcess extends AbstractAssetWorkflowProcess
MetadataProcessorProcess
is called in a workflow process step.
This process will import metadata, create references and apply processing profile if the
paylod of the step is an
Asset
or a part of an
Asset
.AbstractAssetWorkflowProcess
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENABLE_SHA1_GEN |
static java.lang.String |
XSS_PROTECTED_PROPERTIES |
TYPE_JCR_PATH
Constructor and Description |
---|
MetadataProcessorProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
@Property(boolValue=true) public static final java.lang.String ENABLE_SHA1_GEN
@Property(value="adobe_dam:restrictions", unbounded=ARRAY, label="XSS protected properties", description="These properties will be passed through xss api before saving") public static final java.lang.String XSS_PROTECTED_PROPERTIES
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) 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
.args
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.Copyright © 2010 - 2023 Adobe. All Rights Reserved