Class WorkflowRemover

java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.WorkflowRemover
All Implemented Interfaces:
FormProcessor

public class WorkflowRemover extends ProcessDefinition
Removes workflow process instances based on specified conditions.
  • Field Details

    • payloadPaths

      public List<String> payloadPaths
    • olderThanVal

      public String olderThanVal
    • olderThanMillis

      public long olderThanMillis
    • modelIds

      public List<String> modelIds
    • statuses

      public List<String> statuses
  • Constructor Details

  • Method Details

    • buildProcess

      public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException, javax.jcr.RepositoryException
      Specified by:
      buildProcess in class ProcessDefinition
      Throws:
      org.apache.sling.api.resource.LoginException
      javax.jcr.RepositoryException
    • storeReport

      public void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException
      Specified by:
      storeReport in class ProcessDefinition
      Throws:
      javax.jcr.RepositoryException
      org.apache.sling.api.resource.PersistenceException
    • init

      public void init() throws javax.jcr.RepositoryException
      Throws:
      javax.jcr.RepositoryException
    • getModelIds

      public List<String> getModelIds()
    • getPayloads

      public List<Pattern> getPayloads()
    • getOlderThan

      public Calendar getOlderThan()
    • getOlderThanMillis

      public long getOlderThanMillis()
    • getStatuses

      public List<String> getStatuses()
    • getWorkflowRemovalConfig

      public WorkflowRemovalConfig getWorkflowRemovalConfig()