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 Details

    • startUpdate

      AssetUpdate startUpdate(WorkItem item, ResourceResolver resolver, Object process)
      A process in an asset update workflow starts working on an item.
      Parameters:
      item - the workflow item being started
      resolver - the resolver to use for lookups
      process - the process running instance
      Returns:
      an object representing the update supervision
    • startJobUpdate

      AssetUpdate startJobUpdate(String assetPath, ResourceResolver resolver, Job job, Object processor)
      A Sling job in an asset update workflow starts working.
      Parameters:
      assetPath - the path of the asset being worked on
      resolver - the resolver to use for lookups
      job - the job currently starting
      processor - the instance processing the job
      Returns:
      an object representing the update supervision