Interface SpinnakerEventListener<E extends SpinnakerApplicationEvent>
-
- Type Parameters:
E- the type of event the listener is for
- All Superinterfaces:
org.pf4j.ExtensionPoint,SpinnakerExtensionPoint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SpinnakerEventListener<E extends SpinnakerApplicationEvent> extends SpinnakerExtensionPoint
An application event listener for Spinnaker events that can be utilized by plugins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonApplicationEvent(E event)Handles an event of typeSpinnakerEventListener.-
Methods inherited from interface com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint
getExtensionClass, getPluginId
-
-
-
-
Method Detail
-
onApplicationEvent
void onApplicationEvent(@Nonnull E event)Handles an event of typeSpinnakerEventListener.- Parameters:
event- the inbound event
-
-