|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServiceLevel
An object that represents the service level a device will receive.
| Method Summary | |
|---|---|
ServiceLevelAccess |
getAccess()
Return an enumeration code representing the type of access that was granted to the device. |
ClassOfService |
getClassOfService()
Return the selected class of service to use for configuration generation. |
DHCPCriteria |
getDHCPCriteria()
Return the selected DHCP criteria to use for configuration generation. |
String |
getExplanation()
Return the explanation for selecting the access granted to the device. |
Map<String,Object> |
getProperties()
Return a map of properties to use for configuration generation. |
ServiceLevelReason |
getReason()
Return an enumeration code describing the reason for selecting the access granted to the device. |
boolean |
isBehindRequiredDevice()
Return true if the device is behind the relay agent it is required to be behind, or if no required relay agent was specified |
boolean |
isInRequiredProvGroup()
Return true if the device is in the provisioning group it is required to be in, or if no required provisioning group was specified |
void |
setAccess(ServiceLevelAccess access)
Set the enumeration code that represents the type of access that was granted to the device. |
void |
setBehindRequiredDevice(boolean isBehindRequiredDevice)
Set the flag indicating if the device is behind its required relay agent. |
void |
setClassOfService(ClassOfService classOfService)
Set the selected class of service to use for configuration generation. |
void |
setDHCPCriteria(DHCPCriteria dhcpCriteria)
Set the selected DHCP criteria to use for configuration generation. |
void |
setExplanation(String explanation)
Set explanation for selecting the access granted to the device. |
void |
setInRequiredProvGroup(boolean isInRequiredProvGroup)
Set the flag indicating if the device is in its required provisioning group. |
void |
setProperties(Map<String,Object> properties)
Set a map of properties to use for configuration generation. |
void |
setReason(ServiceLevelReason reason)
Set the reason for selecting the access granted to the device. |
| Method Detail |
|---|
ServiceLevelAccess getAccess()
ClassOfService getClassOfService()
DHCPCriteria getDHCPCriteria()
String getExplanation()
Map<String,Object> getProperties()
ServiceLevelReason getReason()
boolean isBehindRequiredDevice()
IPDeviceKeys.MUST_BE_BEHIND_DEVICEboolean isInRequiredProvGroup()
IPDeviceKeys.MUST_BE_IN_PROV_GROUPvoid setAccess(ServiceLevelAccess access)
access - the type of access that was granted to the device.void setBehindRequiredDevice(boolean isBehindRequiredDevice)
isBehindRequiredDevice - true to indicate the device is behind its
required relay agent, or no required relay agent has been
specified, false to indicate the device is not behind its
required relay agent.IPDeviceKeys.MUST_BE_BEHIND_DEVICEvoid setClassOfService(ClassOfService classOfService)
classOfService - the selected class of service.void setDHCPCriteria(DHCPCriteria dhcpCriteria)
dhcpCriteria - the selected DHCP criteria.void setExplanation(String explanation)
explanation - a string explaining the reason for selecting the
access granted to the devicevoid setInRequiredProvGroup(boolean isInRequiredProvGroup)
isInRequiredProvGroup - true to indicate the device is in its
required provisioning group, or no required group has been
specified, false to indicate the device is not in its required
provisioning group.IPDeviceKeys.MUST_BE_IN_PROV_GROUPvoid setProperties(Map<String,Object> properties)
properties - the selected properties.void setReason(ServiceLevelReason reason)
reason - the reason for selecting the access granted to the device.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||