Interface ProcessInstance


@ProviderType public interface ProcessInstance
Abstraction of a Process which runs using FAM and consists of one or more actions.
  • Field Details

  • Method Details

    • getName

      String getName()
    • init

      void init(org.apache.sling.api.resource.ResourceResolver resourceResolver, Map<String,Object> parameterMap) throws DeserializeException, javax.jcr.RepositoryException
      Throws:
      DeserializeException
      javax.jcr.RepositoryException
    • getActionManagerFactory

      ActionManagerFactory getActionManagerFactory()
    • defineCriticalAction

      ActionManager defineCriticalAction(String name, org.apache.sling.api.resource.ResourceResolver rr, CheckedConsumer<ActionManager> builder) throws org.apache.sling.api.resource.LoginException
      Throws:
      org.apache.sling.api.resource.LoginException
    • defineAction

      ActionManager defineAction(String name, org.apache.sling.api.resource.ResourceResolver rr, CheckedConsumer<ActionManager> builder) throws org.apache.sling.api.resource.LoginException
      Throws:
      org.apache.sling.api.resource.LoginException
    • getInfo

      ManagedProcess getInfo()
    • updateProgress

      double updateProgress()
    • getId

      String getId()
    • getPath

      String getPath()
    • run

      void run(org.apache.sling.api.resource.ResourceResolver rr)
    • halt

      void halt()
    • getStatistics

      CompositeData getStatistics()