Class ExtractExportDataProcess
- java.lang.Object
-
- com.adobe.cq.scheduled.exporter.process.ExtractExportDataProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Property(name="process.label", value="Extract Export Data") public class ExtractExportDataProcess extends java.lang.Object implements WorkflowProcessExtracts the payload path and saves it as a sling:Folder property
PN_PAYLOADbelow a a predefineddestPathprovided as process argument. The sling:Folder node name is a SHA-1 hexadecimal representation of the payload path. The node will be created only if it does not exist already.Process is only executed if the
Arguments:destPathargument is provided and the payload type is JCR_PATH.Prefix Example destPath destPath:/var/dataexport/example
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtractExportDataProcess.ArgumentsThe available arguments to this process implementation.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPN_PAYLOAD
-
Constructor Summary
Constructors Constructor Description ExtractExportDataProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(WorkItem item, WorkflowSession workflowSession, MetaDataMap metaData)Executes a new Java process with the givenandWorkItem.WorkflowSession
-
-
-
Field Detail
-
PN_PAYLOAD
public static final java.lang.String PN_PAYLOAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(WorkItem item, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
Description copied from interface:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Specified by:
executein interfaceWorkflowProcess- Parameters:
item- Thethat defines the newly startedWorkItemJavaProcessNew.workflowSession- Thethat is used for starting theWorkflowSessionJavaProcess.metaData- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-
-