@Service @Property(name="process.label", value="Exif ToolExtract Meta Data") public class ExifToolExtractMetadataProcess extends AbstractAssetWorkflowProcess
ExtractMetadataProcess
is called in a workflow process step.
This process will import metadata, if the paylod of the step is an
Asset
or a part of an
Asset
.AbstractAssetWorkflowProcess
Modifier and Type | Class and Description |
---|---|
static class |
ExifToolExtractMetadataProcess.Arguments |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENABLE_SHA1_GEN |
TYPE_JCR_PATH
Constructor and Description |
---|
ExifToolExtractMetadataProcess() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
buildArguments(MetaDataMap metaData) |
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
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.public java.lang.String[] buildArguments(MetaDataMap metaData)
Copyright © 2010 - 2020 Adobe. All Rights Reserved