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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetUpdate
startJobUpdate(java.lang.String assetPath, ResourceResolver resolver, Job job, java.lang.Object processor)
A Sling job in an asset update workflow starts working.AssetUpdate
startUpdate(WorkItem item, ResourceResolver resolver, java.lang.Object process)
A process in an asset update workflow starts working on an item.
-
-
-
Method Detail
-
startUpdate
AssetUpdate startUpdate(WorkItem item, ResourceResolver resolver, java.lang.Object process)
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
AssetUpdate startJobUpdate(java.lang.String assetPath, ResourceResolver resolver, Job job, java.lang.Object processor)
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
-
-