org.systinet.monitoring
Interface Event


public interface Event

Event is a common inteface which must implement all events.

Since:
4.6.1
Component:
Event-Monitoring

Method Summary
 java.lang.String getCategoryName()
          Gets the categoryName of event
 java.util.Map getEventParameters()
          Gets the eventParameters the event
 java.lang.String getMessage()
          Gets the message of the event.
 java.lang.Object[] getMessageParameters()
          Gets the array of object used for formating event message.
 java.lang.String getMessageText()
          Gets formated message text of the event.
 int getSeverity()
          Gets the severity of the event.
 java.lang.Throwable getThrowable()
          Gets the throwable of the event
 java.lang.String getType()
          Gets the type of the event.
 

Method Detail

getType

public java.lang.String getType()
Gets the type of the event.

Returns:
The type value

getMessage

public java.lang.String getMessage()
Gets the message of the event.

Returns:
The message value

getMessageText

public java.lang.String getMessageText()
Gets formated message text of the event.

Returns:
The messageText value

getMessageParameters

public java.lang.Object[] getMessageParameters()
Gets the array of object used for formating event message.

Returns:
array of object used for message formating

getThrowable

public java.lang.Throwable getThrowable()
Gets the throwable of the event

Returns:
The throwable value

getSeverity

public int getSeverity()
Gets the severity of the event. For severity values see Severities.FATAL, Severities.ERROR, Severities.WARN, Severities.INFO, Severities.FINE, Severities.OFF.

Returns:
The severity value

getEventParameters

public java.util.Map getEventParameters()
Gets the eventParameters the event

Returns:
The eventParameters value

getCategoryName

public java.lang.String getCategoryName()
Gets the categoryName of event

Returns:
The categortName value