Schnittstelle ProcessListener

Alle bekannten Implementierungsklassen:
ProcessAdapter

public interface ProcessListener
An event listener interface to be notified of changes in the status of a Process instance.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Will be notified when the process execution has been canceled.
    void
    Will be notified when the process execution failed.
    void
    Will be notified when the process execution has finished.
    void
    Will be notified when the process execution is resumed after a previous suspension.
    void
    Will be notified when the process execution has started.
    void
    Will be notified when the process execution has been suspended temporarily.
  • Methodendetails

    • processCanceled

      void processCanceled(Process process)
      Will be notified when the process execution has been canceled.
      Parameter:
      process - The process
    • processFailed

      void processFailed(Process process)
      Will be notified when the process execution failed. If the failure was caused by an exception it can be queried from the process parameter ProcessRelationTypes.PROCESS_EXCEPTION. This method will also be invoked if another listener method caused the process failure by throwing a runtime exception.
      Parameter:
      process - The process
    • processFinished

      void processFinished(Process process)
      Will be notified when the process execution has finished. If the method wants to prevent the process from committing it's transaction it should throw a runtime exception.
      Parameter:
      process - The process
    • processResumed

      void processResumed(Process process)
      Will be notified when the process execution is resumed after a previous suspension.
      Parameter:
      process - The process
    • processStarted

      void processStarted(Process process)
      Will be notified when the process execution has started.
      Parameter:
      process - The process
    • processSuspended

      void processSuspended(Process process)
      Will be notified when the process execution has been suspended temporarily.
      Parameter:
      process - The process