Class ReservationEvent

java.lang.Object
wt.events.KeyedEvent
wt.reservation.ReservationEvent
All Implemented Interfaces:
wt.events.summary.SummarizedEvent

public final class ReservationEvent extends KeyedEvent
Used to represent events occurring within execution of the ReservationService.

Supported API: true

Extendable: false
  • Field Details

    • REQUEST_GRANTED

      public static final String REQUEST_GRANTED
      Event type used to notify listeners that one or more reservation requests were granted. The event target is Set<Reservation>.>

      Supported API: true
      See Also:
    • REQUEST_DENIED

      public static final String REQUEST_DENIED
      Event type used to notify listeners that one or more reservation requests were denied. The event target is Set<Reservation>.>

      Supported API: true
      See Also:
    • RELEASE_GRANTED

      public static final String RELEASE_GRANTED
      Event type used to notify listeners that one or more reservations releases were granted. The event target is Set<Reservation>.>

      Supported API: true
      See Also:
    • RELEASE_DENIED

      public static final String RELEASE_DENIED
      Event type used to notify listeners that one or more reservations releases were denied. The event target is Set<Reservation>.>

      Supported API: true
      See Also:
  • Method Details

    • generateEventKey

      public static String generateEventKey(String eventType)
      Generates an event key from an event type.

      Supported API: true
      Parameters:
      eventType - One of the reservation event types defined in this class.
      Returns:
      Event key.