Package rife.workflow

Interface EventListener


public interface EventListener
This interface allows classes to register themselves to receive notifications when events are triggered in a Workflow.

Event listeners have to be registered through Workflow.addListener(rife.workflow.EventListener).

Since:
1.0
API Note:
The workflow engine is still in an ALPHA EXPERIMENTAL STAGE and might change.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when an event was triggered.
  • Method Details

    • eventTriggered

      void eventTriggered(Event event)
      Called when an event was triggered.
      Parameters:
      event - the event that was triggered
      Since:
      1.0