Interface TargetEvent<T>

Type Parameters:
T - the type of the payload associated with the event
All Known Implementing Classes:
AbstractTargetEvent, DeploymentRuntimeWarningEvent

public interface TargetEvent<T>
Interface for events related to a target.
  • Method Summary

    Modifier and Type
    Method
    Description
    The type of event.
    The payload of the event.
    The target associated with this event.
  • Method Details

    • target

      Target target()
      The target associated with this event.
      Returns:
      the target
    • payload

      T payload()
      The payload of the event. This is the data that is associated with the event, to be processed by event listeners.
      Returns:
      the payload of the event
    • eventType

      String eventType()
      The type of event. This identifies the specific event that occurred
      Returns:
      the event type as a string