public static class AlertMonitor.Event extends Object
| Constructor and Description | 
|---|
| Event(AlertMonitor.AlertLevel level,
     long time,
     PersistitLogMessage.LogItem logItem,
     Object... args)Construct an  Eventfor the specifiedPersistitLogMessage.LogItemand
 arguments with the specified system time. | 
| Event(AlertMonitor.AlertLevel level,
     PersistitLogMessage.LogItem logItem,
     Object... args)Construct an  Eventfor the specifiedPersistitLogMessage.LogItemand
 arguments with the current system time. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | added(AlertMonitor.History history)Called when this  Eventis added to aHistory. | 
| Object[] | getArgs() | 
| Object | getFirstArg() | 
| AlertMonitor.AlertLevel | getLevel() | 
| PersistitLogMessage.LogItem | getLogItem() | 
| long | getTime() | 
| String | logMessage() | 
| protected void | removed(AlertMonitor.History history)Called when this  Eventis removed from aHistory. | 
| String | toString() | 
public Event(AlertMonitor.AlertLevel level, PersistitLogMessage.LogItem logItem, Object... args)
Event for the specified PersistitLogMessage.LogItem and
 arguments with the current system time.level - AlertLevel assigned to this event by the posting processlogItem - LogItem to be used in logging this eventargs - arguments specific to the LogItempublic Event(AlertMonitor.AlertLevel level, long time, PersistitLogMessage.LogItem logItem, Object... args)
Event for the specified PersistitLogMessage.LogItem and
 arguments with the specified system time.level - AlertLevel assigned to this event by the posting processtime - System time in milliseconds at which the event occurredlogItem - LogItem to be used in logging this eventargs - arguments specific to the LogItempublic AlertMonitor.AlertLevel getLevel()
public PersistitLogMessage.LogItem getLogItem()
PersistitLogMessage.LogItem assigned to the eventpublic long getTime()
public Object[] getArgs()
public Object getFirstArg()
null if the array is emptyprotected void added(AlertMonitor.History history)
Event is added to a
 History. By default this method does nothing, but an
 Event subclass can use this method to compute statistics or perform
 other custom operations. This method is called after the event has
 been added.history - the History to which this event has been
            addedprotected void removed(AlertMonitor.History history)
Event is removed from a
 History. By default this method does nothing, but an
 Event subclass can use this method to compute statistics or perform
 other custom operations. This method is called before the event has
 been removed.history - the History from which this event will be
            removedpublic String logMessage()
Copyright © 2025 Open Identity Platform Community. All rights reserved.