com.sun.n1.sps.model.rule
Interface ActionMetaData


public interface ActionMetaData

A meta data object describing an action. An action meta data object is a data bean that represents a union of the properties of all possible actions. Every action has a type, given by the actionType property. The actionType determines the other properties that are expected to be set. For example, if the actionType is EMAIL, then the emailAddress property is expected to be set.

Note that currently, the only possible actionType is EMAIL, but other types may be invented and added in the future.

This representation of an action is intended for use by a UI, and is suitable for transport over RPC and eventual persistent storage. An action meta data is stored within the actions property of a rule meta data.

See Also:
RuleMetaData.getActions()

Method Summary
 java.lang.String getActionType()
          Returns action type of this object.
 java.lang.String getEmailAddress()
          Returns the email address to notify as a result of the action.
 

Method Detail

getActionType

java.lang.String getActionType()
Returns action type of this object. Every action has an action type.

Returns:
The string containing the action type.

getEmailAddress

java.lang.String getEmailAddress()
Returns the email address to notify as a result of the action.

Returns:
The email address.
See Also:
getActionType()