com.cisco.provisioning.cpe.extensions.configuration
Interface SNMPConfig


public interface SNMPConfig

The SNMPConfig is a container of SNMP related configuration data for a specific device need to respond to a SNMP request at the provisioning group. The only relevant property supported in this release is MTAKeys.PKTCBL_MTA_PROVISION_NOTIFY.

See Also:
ConfigContext

Method Summary
 int getNumberOfProperties()
          Returns number of properties in the properties map.
 Object getProperty(String key)
          Returns value for the named property from the property map.
 Object setProperty(String key, Object value)
          Set the named property in the property map.
 

Method Detail

getProperty

Object getProperty(String key)
Returns value for the named property from the property map.

Parameters:
key - property name
Returns:
property value, or null if no property matching key found
Throws:
IllegalArgumentException - if the given key is null.

getNumberOfProperties

int getNumberOfProperties()
Returns number of properties in the properties map.

Returns:
number of properties in the properties map

setProperty

Object setProperty(String key,
                   Object value)
Set the named property in the property map. If the property key already exists it is replaced with the given property value. The previous value assoicated with given key will be returned. The only relevant property supported in this release is MTAKeys.PKTCBL_MTA_PROVISION_NOTIFY.

Parameters:
key - property name
value - property value
Returns:
the previous value associated with the given key, or null if no mapping existed
Throws:
IllegalArgumentException - if the given key or value is null, or if the given key is not relevant for this configuration.