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 WorkflowProcess
Extracts the payload path and saves it as a sling:Folder property
PN_PAYLOAD
below a a predefineddestPath
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
Arguments:destPath
argument 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 class
ExtractExportDataProcess.Arguments
The available arguments to this process implementation.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PN_PAYLOAD
-
Constructor Summary
Constructors Constructor Description ExtractExportDataProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem item, WorkflowSession workflowSession, MetaDataMap metaData)
Executes a new Java process with the given
andWorkItem
.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:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Specified by:
execute
in interfaceWorkflowProcess
- Parameters:
item
- The
that defines the newly startedWorkItem
JavaProcessNew
.workflowSession
- The
that is used for starting theWorkflowSession
JavaProcess
.metaData
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
-