org.cafesip.sipexchange.inservice.shared
Class Trigger

java.lang.Object
  extended by org.cafesip.sipexchange.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

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
 

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