public interface EventReceiver
| Modifier and Type | Method and Description |
|---|---|
String[] |
getEventNamePrefixes()
This defines the events that you want to know about by event name,
receiveEvent(String, String) will be called whenever an event occurs which has a name
which begins with any of the strings this method returns, simply return empty array if you do
not want to match events this wayNote: Can be used with getResourcePrefix() |
String |
getResourcePrefix()
This defines the events that you want to know about by event resource (reference),
receiveEvent(String, String) will be called whenever an event occurs which has a
resource which begins with the string this method returns, simply return empty string to match
no events this wayNote: Can be used with getEventNamePrefixes() |
void |
receiveEvent(String eventName,
String id)
This defines what should happen when an event occurs that you want to know about
|
String[] getEventNamePrefixes()
receiveEvent(String, String) will be called whenever an event occurs which has a name
which begins with any of the strings this method returns, simply return empty array if you do
not want to match events this waygetResourcePrefix()String getResourcePrefix()
receiveEvent(String, String) will be called whenever an event occurs which has a
resource which begins with the string this method returns, simply return empty string to match
no events this waygetEventNamePrefixes()Copyright © 2003–2022 Sakai Project. All rights reserved.