org.cafesip.sipexchange.common.inservice.shared
Class Trigger

java.lang.Object
  extended by org.cafesip.sipexchange.common.inservice.shared.Trigger
All Implemented Interfaces:
java.io.Serializable

public class Trigger
extends java.lang.Object
implements java.io.Serializable

This class is used to provide information about a trigger that is associated either with subscriber or domain. The trigger information is retrieved from the subscriber or domain database.

The setter methods are used by the SipExchange server to set the values for the parameters for this class. The gettter methods can be used by the SCP to retrieve the information.

See Also:
Serialized Form

Field Summary
static java.lang.String CALLED_ADDRESS_TERM_TRIGGER
           
static java.lang.String CALLED_BUSY_TERM_TRIGGER
           
static java.lang.String CALLED_NOANS_TERM_TRIGGER
           
static java.lang.String CALLED_NOT_AVAIL_TERM_TRIGGER
           
static java.lang.String MAKE_CALL_ORIG_TRIGGER
           
static java.lang.String RECEIVED_CALL_TERM_TRIGGER
           
 
Constructor Summary
Trigger(java.lang.String triggerType, java.lang.String feature, int order, java.lang.String serviceController, java.lang.Object param)
          A constructor for this class.
 
Method Summary
 java.lang.String getFeature()
          Getter method to get the name of the feature.
 int getOrder()
          Getter method to get the order of this trigger.
 java.lang.Object getParam()
          Getter for the param object for this trigger.
 java.lang.String getServiceController()
          Getter method for retrieving the URL of the service controller handling this trigger.
 java.lang.String getTriggerType()
          Getter method for the trigger type.
 void setFeature(java.lang.String feature)
          Setter method to set the name of the feature.
 void setOrder(int order)
          The setter method for the order.
 void setParam(java.lang.Object param)
          Setter for the param object.
 void setServiceController(java.lang.String serviceController)
          Setter method for the service controller.
 void setTriggerType(java.lang.String triggerType)
          Setter for the trigger type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAKE_CALL_ORIG_TRIGGER

public static final java.lang.String MAKE_CALL_ORIG_TRIGGER
See Also:
Constant Field Values

RECEIVED_CALL_TERM_TRIGGER

public static final java.lang.String RECEIVED_CALL_TERM_TRIGGER
See Also:
Constant Field Values

CALLED_BUSY_TERM_TRIGGER

public static final java.lang.String CALLED_BUSY_TERM_TRIGGER
See Also:
Constant Field Values

CALLED_NOANS_TERM_TRIGGER

public static final java.lang.String CALLED_NOANS_TERM_TRIGGER
See Also:
Constant Field Values

CALLED_NOT_AVAIL_TERM_TRIGGER

public static final java.lang.String CALLED_NOT_AVAIL_TERM_TRIGGER
See Also:
Constant Field Values

CALLED_ADDRESS_TERM_TRIGGER

public static final java.lang.String CALLED_ADDRESS_TERM_TRIGGER
See Also:
Constant Field Values
Constructor Detail

Trigger

public Trigger(java.lang.String triggerType,
               java.lang.String feature,
               int order,
               java.lang.String serviceController,
               java.lang.Object param)
A constructor for this class.

Method Detail

getFeature

public java.lang.String getFeature()
Getter method to get the name of the feature.

Returns:
the name of the feature.

setFeature

public void setFeature(java.lang.String feature)
Setter method to set the name of the feature.

Parameters:
feature - the name of the feature to set.

getOrder

public int getOrder()
Getter method to get the order of this trigger.

Returns:
the order of the trigger. Lower the number, the sooner the trigger is handled.

setOrder

public void setOrder(int order)
The setter method for the order.

Parameters:
order - the order to set.

getServiceController

public java.lang.String getServiceController()
Getter method for retrieving the URL of the service controller handling this trigger.

Returns:
the URL of the service controller.

setServiceController

public void setServiceController(java.lang.String serviceController)
Setter method for the service controller.

Parameters:
serviceController - URL of the service controller to set.

getTriggerType

public java.lang.String getTriggerType()
Getter method for the trigger type.

Returns:
the trigger type.

setTriggerType

public void setTriggerType(java.lang.String triggerType)
Setter for the trigger type.

Parameters:
triggerType - trigger type to set.

getParam

public java.lang.Object getParam()
Getter for the param object for this trigger.

Returns:
the param object.

setParam

public void setParam(java.lang.Object param)
Setter for the param object.

Parameters:
param - param object to set.


http://www.cafesip.org