|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.extension.KAoSExtensionComponentManagerImpl
kaos.core.csi.extension.history.EventsHistoryManager
public class EventsHistoryManager
This class extends guard repository manager implementation. It has a new method that finds the # events belonging to a specified event class. This finding is performed across all the components in this manager.
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()
|
static EventsHistoryManager |
getInstance()
|
java.util.List<ActionInstanceDescription> |
getLogsforActionType(java.lang.String actionType)
|
void |
logEvent(ActionInstanceDescription event)
Log an event |
Methods inherited from class kaos.core.csi.extension.KAoSExtensionComponentManagerImpl |
---|
changeComponentEnabledStatus, deregisterComponent, getAllKAoSExtensionComponents, getComponent, getComponentEnabledStatus, getRepositoryManagerType, getRepositoryTableInformation, getServiceProperties, initialize, loadConfiguration, printDebugString, registerComponent, removeAllKAoSExtensionComponents, setServiceProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kaos.core.csi.extension.KAoSExtensionComponentManager |
---|
changeComponentEnabledStatus, deregisterComponent, getAllKAoSExtensionComponents, getComponent, getComponentEnabledStatus, getRepositoryManagerType, getRepositoryTableInformation, loadConfiguration, registerComponent, removeAllKAoSExtensionComponents |
Method Detail |
---|
public static EventsHistoryManager getInstance()
public void logEvent(ActionInstanceDescription event)
EventHistoryComponent
logEvent
in interface EventHistoryComponent
event
- The event to be logged.public java.util.List<ActionInstanceDescription> findEventsOfType(OntClassDescription eventClass, kaos.time.DurationDescription historyStartDuration, kaos.time.DurationDescription historyEndDuration)
findEventsOfType
in interface EventHistoryComponent
eventClass
- ActionInfo object 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
public java.util.List<ActionInstanceDescription> getLogsforActionType(java.lang.String actionType)
getLogsforActionType
in interface EventHistoryComponent
public java.util.List<ActionInstanceDescription> getAllLogs()
getAllLogs
in interface EventHistoryComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |