Interface TriggerActivatedListener
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
TriggerListener
- 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 TriggerActivatedListener
extends java.util.EventListener
This listener provides a callback for when a
Trigger
was activated.Method Summary
Modifier and Type Method Description void
activated(TriggerEvent event)
This method is called when aTrigger
was activated.
Method Details
activated
This method is called when aTrigger
was activated.- Parameters:
event
- The event data that contains information about the trigger.- See Also:
Trigger.isActivated()