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
-
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
-