com.openexchange.messaging
Class MessagingAction

java.lang.Object
  extended by com.openexchange.messaging.MessagingAction

public final class MessagingAction
extends java.lang.Object

MessagingAction - A messaging action examined in perform() method.

Since:
Open-Xchange v6.16
Author:
Francisco Laguna, Thorben Betten

Nested Class Summary
static class MessagingAction.Type
          The action type.
 
Constructor Summary
MessagingAction(java.lang.String name, MessagingAction.Type type)
          Initializes a new MessagingAction.
MessagingAction(java.lang.String name, MessagingAction.Type type, java.lang.String follower)
          Initializes a new MessagingAction.
 
Method Summary
 java.lang.String getFollower()
          Gets the follower or null to indicate no following action.
 java.lang.String getName()
          Gets the name
 MessagingAction.Type getType()
          Gets the type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagingAction

public MessagingAction(java.lang.String name,
                       MessagingAction.Type type)
Initializes a new MessagingAction.

Parameters:
name - The name
type - The type

MessagingAction

public MessagingAction(java.lang.String name,
                       MessagingAction.Type type,
                       java.lang.String follower)
Initializes a new MessagingAction.

Parameters:
name - The name
type - The type
follower - The follower action name; may be null to indicate no following action
Method Detail

getName

public java.lang.String getName()
Gets the name

Returns:
The name

getType

public MessagingAction.Type getType()
Gets the type

Returns:
The type

getFollower

public java.lang.String getFollower()
Gets the follower or null to indicate no following action.

Returns:
The follower or null to indicate no following action