|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Classes that implement this interface store a list of trigger events.
| Method Summary | |
long |
add(Trigger trigger)
Adds the trigger to the trigger list. |
Trigger |
find(long lTriggerID)
Finds a trigger by the specified trigger ID. |
Trigger |
getEarliestTrigger()
Gets the earliest trigger in the list. |
boolean |
isEmpty()
Checks if the trigger list is empty. |
boolean |
remove(long lTriggerID)
Removes a trigger from the trigger list by the specified ID. |
boolean |
remove(Trigger trigger)
Removes the trigger from the trigger list. |
int |
size()
Gets the size of the trigger list. |
| Method Detail |
public long add(Trigger trigger)
trigger - the trigger to addpublic boolean remove(Trigger trigger)
trigger - the trigger to removetrue if the trigger was found and removed; false otherwise if not foundpublic boolean remove(long lTriggerID)
lTriggerID - id of triggertrue if the trigger was found and removed; false otherwise if not foundpublic Trigger find(long lTriggerID)
lTriggerID - the trigger IDnull if not foundpublic Trigger getEarliestTrigger()
null if there are no triggers in the listpublic boolean isEmpty()
true if the trigger list is empty; false otherwisepublic int size()
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||