Package de.esoco.process
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 TypMethodeBeschreibungvoid
processCanceled
(Process process) Will be notified when the process execution has been canceled.void
processFailed
(Process process) Will be notified when the process execution failed.void
processFinished
(Process process) Will be notified when the process execution has finished.void
processResumed
(Process process) Will be notified when the process execution is resumed after a previous suspension.void
processStarted
(Process process) Will be notified when the process execution has started.void
processSuspended
(Process process) Will be notified when the process execution has been suspended temporarily.
-
Methodendetails
-
processCanceled
Will be notified when the process execution has been canceled.- Parameter:
process
- The process
-
processFailed
Will be notified when the process execution failed. If the failure was caused by an exception it can be queried from the process parameterProcessRelationTypes.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
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
Will be notified when the process execution is resumed after a previous suspension.- Parameter:
process
- The process
-
processStarted
Will be notified when the process execution has started.- Parameter:
process
- The process
-
processSuspended
Will be notified when the process execution has been suspended temporarily.- Parameter:
process
- The process
-