Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.notification
Class LogMessageNotificationAction

java.lang.Object
  extended by net.java.sip.communicator.service.notification.NotificationAction
      extended by net.java.sip.communicator.service.notification.LogMessageNotificationAction

public class LogMessageNotificationAction
extends NotificationAction

An implementation of the LogMessageNotificationHandler interface.

Author:
Yana Stamcheva

Field Summary
static String ERROR_LOG_TYPE
          Indicates that this log is of type error.
static String INFO_LOG_TYPE
          Indicates that this log is of type info.
static String TRACE_LOG_TYPE
          Indicates that this log is of type trace.
 
Fields inherited from class net.java.sip.communicator.service.notification.NotificationAction
ACTION_COMMAND, ACTION_LOG_MESSAGE, ACTION_POPUP_MESSAGE, ACTION_SOUND, NUM_ACTIONS
 
Constructor Summary
LogMessageNotificationAction(String logType)
          Creates an instance of LogMessageNotificationHandlerImpl by specifying the log type.
 
Method Summary
 String getLogType()
          Returns the type of the log
 
Methods inherited from class net.java.sip.communicator.service.notification.NotificationAction
getActionType, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_LOG_TYPE

public static final String TRACE_LOG_TYPE
Indicates that this log is of type trace. If this logType is set the messages would be logged as trace logs.

See Also:
Constant Field Values

INFO_LOG_TYPE

public static final String INFO_LOG_TYPE
Indicates that this log is of type info. If this logType is set the messages would be logged as info logs.

See Also:
Constant Field Values

ERROR_LOG_TYPE

public static final String ERROR_LOG_TYPE
Indicates that this log is of type error. If this logType is set the messages would be logged as error logs.

See Also:
Constant Field Values
Constructor Detail

LogMessageNotificationAction

public LogMessageNotificationAction(String logType)
Creates an instance of LogMessageNotificationHandlerImpl by specifying the log type.

Parameters:
logType - the type of the log
Method Detail

getLogType

public String getLogType()
Returns the type of the log

Returns:
the type of the log

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.