Package com.day.cq.dam.commons.util
Interface AssetUpdateMonitor
public interface AssetUpdateMonitor
Monitors workflow steps during asset updates.
This service can be used by workflow processes and jobs involved in Asset Update handling to facilitate
MBean supervision.
-
Method Summary
Modifier and TypeMethodDescriptionstartJobUpdate
(String assetPath, ResourceResolver resolver, Job job, Object processor) A Sling job in an asset update workflow starts working.startUpdate
(WorkItem item, ResourceResolver resolver, Object process) A process in an asset update workflow starts working on an item.
-
Method Details
-
startUpdate
A process in an asset update workflow starts working on an item.- Parameters:
item
- the workflow item being startedresolver
- the resolver to use for lookupsprocess
- the process running instance- Returns:
- an object representing the update supervision
-
startJobUpdate
A Sling job in an asset update workflow starts working.- Parameters:
assetPath
- the path of the asset being worked onresolver
- the resolver to use for lookupsjob
- the job currently startingprocessor
- the instance processing the job- Returns:
- an object representing the update supervision
-