org.openorb.notify
public final class Util extends Object
Method Summary | |
---|---|
static EventTypeInfo[] | addRemoveEventTypes(EventTypeInfo[] collection, EventType[] toAdd, EventType[] toRemove)
Check if an EventType ( domain name, event name ) is a
part of an EventType collection checking wildcards.
|
static int | getMatchingEventTypeIndex(EventType eventType, EventType[] collection)
Check if an EventType ( domain name, event name ) is a
part of an EventType collection checking wildcards.
|
static EventTypeInfo | getMatchingEventTypeInfo(EventType eventType, EventTypeInfo[] collection)
Check if an EventType ( domain name, event name ) is a
part of an EventTypeInfo collection checking wildcards.
|
static boolean | isMatchingEventType(EventType eventType, EventType[] collection)
Check if an EventType ( domain name, event name ) is a
part of an EventType collection checking wildcards.
|
static void | sleep(long time, Logger logger)
Common sleep method for the Notification Service.
|
Returns: true if the EventType could be found in the collection.
Returns: the matching EventType index in the collection or -1 if not found.
Returns: the matching EventTypeInfo in the collection or null if not found.
Returns: true if the EventType could be found in the collection.