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 AbstractAssetWorkflowProcessDeprecated.Since 6.3 this sync mechanism is not used anymore. This implementation will be removed in future releases. TheSyncVarProcesssyncs 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
WorkflowArguments:
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 classSyncVarProcess.ArgumentsDeprecated.The available arguments to this process implementation.static classSyncVarProcess.ModesDeprecated.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.voidexecute(WorkItem workItem, WorkflowSession workflowSession)Deprecated.voidexecute(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:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Parameters:
workItem- 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.
-
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.
-
-