@Service @Property(name="process.label", value="Apply Metadata Template") public class ApplyMetadataTemplateProcess extends AbstractAssetWorkflowProcess
ApplyMetadataTemplateProcess
is called in a workflow
process step. This process will apply metadata template to the asset, if the
paylod of the step is an Asset
or a part of
an Asset
.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
Constructor and Description |
---|
ApplyMetadataTemplateProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
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 - 2020 Adobe. All Rights Reserved