@Service(value=WorkflowProcess.class) @Property(name="process.label", value="DAM Unarchiver Process") public class UnarchiverProcess extends AbstractAssetWorkflowProcess
UnarchiverProcess
extracts ZIP files as they are uploaded into DAM.TYPE_JCR_PATH
Constructor and Description |
---|
UnarchiverProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem item,
WorkflowSession wfSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public final void execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.item
- The WorkItem
that defines the newly
started JavaProcessNew
.wfSession
- 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