public class ReloadingEvent extends Event
An event that is fired when a reload operation is required.
Events of this type are generated by ReloadingController if the need
for a reload operation is detected. From the pay-load of the event
information about the components involved is available.
| Modifier and Type | Field and Description |
|---|---|
static EventType<ReloadingEvent> |
ANY
The common event super type for all reloading events.
|
source| Constructor and Description |
|---|
ReloadingEvent(ReloadingController source,
Object addData)
Creates a new instance of
ReloadingEvent and initializes it. |
| Modifier and Type | Method and Description |
|---|---|
ReloadingController |
getController()
Returns the
ReloadingController which caused this event. |
Object |
getData()
Returns an object with additional data about the reload operation.
|
appendPropertyRepresentation, getEventType, toStringgetSourcepublic static final EventType<ReloadingEvent> ANY
public ReloadingEvent(ReloadingController source, Object addData)
ReloadingEvent and initializes it.source - the controller which generated this eventaddData - an arbitrary data object to be evaluated by event
listenerspublic ReloadingController getController()
ReloadingController which caused this event.ReloadingControllerpublic Object getData()
ReloadingController when it
was asked to do a reloading check. This is a generic mechanism to pass
arbitrary data to reloading listeners.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.