@Service
@Property(name="process.label",
value="Add dam size property")
public class AddPropertyWorkflowProcess
extends AbstractAssetWorkflowProcess
TYPE_JCR_PATH| Constructor and Description |
|---|
AddPropertyWorkflowProcess() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSize(Asset asset) |
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaData)
Executes a new Java process with the given
and . |
public boolean addSize(Asset asset) throws RepositoryException
RepositoryExceptionpublic 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.Copyright © 2010 - 2023 Adobe. All Rights Reserved