Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class CommandNotificationAction
extends NotificationAction

An implementation of the CommandNotificationHandler interface.

Author:
Yana Stamcheva

Field Summary
 
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
CommandNotificationAction(String commandDescriptor)
          Creates an instance of CommandNotification by specifying the commandDescriptor, which will point us to the command to execute.
 
Method Summary
 String getDescriptor()
          Returns the command descriptor.
 
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
 

Constructor Detail

CommandNotificationAction

public CommandNotificationAction(String commandDescriptor)
Creates an instance of CommandNotification by specifying the commandDescriptor, which will point us to the command to execute.

Parameters:
commandDescriptor - a String that should point us to the command to execute
Method Detail

getDescriptor

public String getDescriptor()
Returns the command descriptor.

Returns:
the command descriptor

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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