Package org.jboss.elemento.router
Interface BeforePlaceHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This functional interface represents a handler that is executed before a place transition occurs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforePlace
(PlaceManager placeManager, Place place) Called ifshouldGoTo(PlaceManager, Place)
returnedtrue
default boolean
shouldGoTo
(PlaceManager placeManager, Place place) Default implementation returnstrue
-
Method Details
-
shouldGoTo
Default implementation returnstrue
-
beforePlace
Called ifshouldGoTo(PlaceManager, Place)
returnedtrue
-