|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventHistoryComponent
This interface extends KAoSExtensionComponent interface. It adds a method signature that takes in an event class and returns the # events matching that event class from its set of logged events.
Method Summary | |
---|---|
java.util.List<ActionInstanceDescription> |
findEventsOfType(OntClassDescription eventClass,
kaos.time.DurationDescription historyStartDuration,
kaos.time.DurationDescription historyEndDuration)
This method is used to find the list of occurrences of actual events of the type indicated by an event class. |
java.util.List<ActionInstanceDescription> |
getAllLogs()
|
java.util.List<ActionInstanceDescription> |
getLogsforActionType(java.lang.String loginAction)
|
void |
logEvent(ActionInstanceDescription event)
Log an event |
Method Detail |
---|
void logEvent(ActionInstanceDescription event)
event
- The event to be logged.java.util.List<ActionInstanceDescription> findEventsOfType(OntClassDescription eventClass, kaos.time.DurationDescription historyStartDuration, kaos.time.DurationDescription historyEndDuration)
eventClass
- ActionInfo specifying the type of event class.historyStartDuration
- DurationDescription specifying the starting time in which event should be countedhistoryEndDuration
- DurationDescription specifying the ending time in which event should be counted
java.util.List<ActionInstanceDescription> getAllLogs()
java.util.List<ActionInstanceDescription> getLogsforActionType(java.lang.String loginAction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |