Package com.day.cq.dam.core.process
Class SyncVarProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.SyncVarProcess
-
- All Implemented Interfaces:
WorkflowProcess
@Service @Property(name="process.label", value="Synchronize /var/dam") @Deprecated public class SyncVarProcess extends AbstractAssetWorkflowProcess
Deprecated.Since 6.3 this sync mechanism is not used anymore. This implementation will be removed in future releases. TheSyncVarProcess
syncs the content below /var/dam with /content/dam in two diffrent modes.Process is only executed if started with a mode argument, the payload exists and is currently not involved in a
Workflow
Arguments:
Prefix Description Example mode: one of the follwoing: - cleanup
- sync
The mode sync additionally adds the newly generated files to the var structure.mode:sync - See Also:
AbstractAssetWorkflowProcess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SyncVarProcess.Arguments
Deprecated.The available arguments to this process implementation.static class
SyncVarProcess.Modes
Deprecated.The available modes of themode argument
.
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description SyncVarProcess()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]
buildArguments(MetaDataMap metaData)
Deprecated.void
execute(WorkItem workItem, WorkflowSession workflowSession)
Deprecated.void
execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)
Deprecated.
-
-
-
Method Detail
-
execute
@Deprecated public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
Deprecated.Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
workItem
- 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.
-
execute
@Deprecated public void execute(WorkItem workItem, WorkflowSession workflowSession) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
buildArguments
@Deprecated public java.lang.String[] buildArguments(MetaDataMap metaData)
Deprecated.
-
-