Package rife.workflow

Class Event

java.lang.Object
rife.workflow.Event

public class Event extends Object
Events cause work to be resumed when they are waiting for the event type.
Since:
1.0
API Note:
The workflow engine is still in an ALPHA EXPERIMENTAL STAGE and might change.
  • Constructor Details

    • Event

      public Event(Object type, Object data)
      Creates a new event.
      Parameters:
      type - the type of the event
      data - the data that has to be sent along with the event
      Since:
      1.0
  • Method Details

    • getType

      public Object getType()
      Returns the type of this event.
      Returns:
      this event's type
      Since:
      1.0
    • getData

      public Object getData()
      Returns the data that was sent along with this event.
      Returns:
      this event's data
      Since:
      1.0