Class 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. The SyncVarProcess 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 cleanup removes the Items deleted from the content structure.
    The mode sync additionally adds the newly generated files to the var structure.
    mode:sync
    See Also:
    AbstractAssetWorkflowProcess
    • Constructor Detail

      • SyncVarProcess

        public SyncVarProcess()
        Deprecated.
    • Method Detail

      • 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.