public interface Trigger extends GroupedAvp
7.2.235 Trigger AVP The Trigger AVP (AVP code 1264) is of type Grouped and holds the trigger types. The presence of the Trigger AVP without any Trigger-Type AVP in a CCA allows OCS to disable all the triggers. The presence of the Trigger AVP in the CCR identifies the event(s) triggering the CCR. It has the following ABNF grammar: Trigger ::= < AVP Header: 1264 > * [ Trigger-Type ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
TriggerType[] |
getTriggerTypes()
Returns the set of Trigger-Type AVPs.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Trigger AVP.
|
void |
removeTriggerTypes()
Removes all Trigger-Type AVPs from the Trigger AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setTriggerType(TriggerType triggerType)
Sets a single Trigger-Type AVP in the Trigger AVP, of type Enumerated.
|
void |
setTriggerTypes(TriggerType[] triggerTypes)
Sets the set of Trigger-Type AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
TriggerType[] getTriggerTypes()
void setTriggerType(TriggerType triggerType)
java.lang.NullPointerException
- if triggerType
is null
.void setTriggerTypes(TriggerType[] triggerTypes)
java.lang.NullPointerException
- if triggerTypes
is null
.void removeTriggerTypes()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()