@Service @Property(name="process.label", value="Create Sub Asset") public class CreateSubAssetsProcess extends AbstractAssetWorkflowProcess
CreateSubAssetsProcess
is called in a workflow process step.
This process will fragment an asset in its subassets.TYPE_JCR_PATH
Constructor and Description |
---|
CreateSubAssetsProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- The WorkflowSession
that is used for starting the JavaProcess
.args
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.Copyright © 2010 - 2020 Adobe. All Rights Reserved