public class SyncVarProcess extends AbstractAssetWorkflowProcess
SyncContentProcess 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:
The mode sync additionally adds the newly generated files to the var structure. |
mode:sync |
AbstractAssetWorkflowProcess| Modifier and Type | Class and Description |
|---|---|
static class |
SyncVarProcess.Arguments
The available arguments to this process implementation.
|
static class |
SyncVarProcess.Modes
The available modes of the
mode argument. |
TYPE_JCR_PATH| Constructor and Description |
|---|
SyncVarProcess() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
buildArguments(MetaDataMap metaData) |
void |
execute(WorkItem workItem,
WorkflowSession workflowSession) |
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaData)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.workItem - The WorkItem that defines the newly
started JavaProcessNew.workflowSession - The WorkflowSession
that is used for starting the JavaProcess.metaData - Process specific arguments can be passed hereWorkflowException - Thrown in case something goes wrong during execution.public void execute(WorkItem workItem, WorkflowSession workflowSession) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String[] buildArguments(MetaDataMap metaData)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"