Package com.day.cq.dam.core.process
Class UnarchiverProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.UnarchiverProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service(WorkflowProcess.class) @Property(name="process.label", value="DAM Unarchiver Process") public class UnarchiverProcess extends AbstractAssetWorkflowProcess
TheUnarchiverProcess
extracts ZIP files as they are uploaded into DAM.
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description UnarchiverProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
-
-
Method Detail
-
execute
public final void execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException
Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
item
- The
that defines the newly startedWorkItem
JavaProcessNew
.wfSession
- The
that is used for starting theWorkflowSession
JavaProcess
.args
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
-