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 Object
implements WorkflowProcess
Extracts the payload path and saves it as a sling:Folder property
PN_PAYLOAD below a a predefined
destPath provided 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 destPath argument is provided
and the payload type is JCR_PATH.
| Prefix | Example |
| destPath | destPath:/var/dataexport/example |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe available arguments to this process implementation. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(WorkItem item, WorkflowSession workflowSession, MetaDataMap metaData) Executes a new Java process with the givenandWorkItem.WorkflowSession
-
Field Details
-
PN_PAYLOAD
- See Also:
-
-
Constructor Details
-
ExtractExportDataProcess
public ExtractExportDataProcess()
-
-
Method Details
-
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.
-