Package com.day.cq.dam.core.process
Class CreatePdfPreviewProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.CreatePdfPreviewProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Property(name="process.label", value="Rasterize PDF and Adobe Illustrator documents to a preview image rendition") public class CreatePdfPreviewProcess extends AbstractAssetWorkflowProcess
Workflow step that rasterizes PDF and Adobe Illustrator documents to a preview image rendition
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description CreatePdfPreviewProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem wfItem, WorkflowSession wfSession, MetaDataMap args)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
-
-
Method Detail
-
execute
public void execute(WorkItem wfItem, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException
Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
wfItem
- 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.
-
-