|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<OptionDescType>
com.cisco.provisioning.cpe.extensions.configuration.OptionDescType
public enum OptionDescType
Enumerated type for specifying DOCSIS option technology. This value is passed to the DOCSIS OptionManager and DOCSIS Template Parser to determine the allowable options and formats for file encoding/decoding. The enumerated values have integer equivalents, starting at zero.
| Enum Constant Summary | |
|---|---|
CABLEHOME10
OptionDescType CableHome 1.0 identifier. |
|
DOCSIS10
OptionDescType DOCSIS 1.0 identifier. |
|
DOCSIS11
OptionDescType DOCSIS 1.1 identifier. |
|
DOCSIS20
OptionDescType DOCSIS 2.0 identifier. |
|
DOCSIS30
OptionDescType DOCSIS 3.0 identifier. |
|
PKTCBL10
OptionDescType PacketCable 1.0 identifier. |
|
| Method Summary | |
|---|---|
static OptionDescType |
getNamed(String name)
Returns the OptionDescType object with the given name (or null if it does not exist). |
static OptionDescType |
getTechnologyDefault(TechnologyType technology)
Return the OptionDescType default for the matching technology identifier. |
TechnologyType |
getTechnologyType()
Return the technology type associated with this OptionDescType instance. |
static OptionDescType |
getTechnologyVersion(TechnologyType technology,
String version)
Return the OptionDescType matching the given technology and version. |
String |
getVersionString()
Return the version string of this OptionDescType instance. |
boolean |
isAvailable(Capabilities capabilities)
Returns true if this DHCPSpecialValue is available in the given provisioning group. |
String |
toString()
Returns the textual representation of this object. |
static OptionDescType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OptionDescType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OptionDescType DOCSIS10
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V1 or greater.
public static final OptionDescType DOCSIS11
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V1 or greater.
public static final OptionDescType PKTCBL10
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V1 or greater.
public static final OptionDescType CABLEHOME10
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V1 or greater.
public static final OptionDescType DOCSIS20
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V2 or greater.
public static final OptionDescType DOCSIS30
Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.TFTP_CONFIGURATION_V3 or greater.
| Method Detail |
|---|
public static OptionDescType[] values()
for (OptionDescType c : OptionDescType.values()) System.out.println(c);
public static OptionDescType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static OptionDescType getNamed(String name)
name - the name associated with the desired instance of
OptionDescType.
public static OptionDescType getTechnologyVersion(TechnologyType technology,
String version)
technology - Technology typeversion - version string (major.minor)
public static OptionDescType getTechnologyDefault(TechnologyType technology)
Note: This method is for internal BAC use only. Please use the constants defined on this class to retrieve the desired object.
technology - identifier (see TechnologyType)
public String toString()
toString in class Enum<OptionDescType>public String getVersionString()
public TechnologyType getTechnologyType()
public boolean isAvailable(Capabilities capabilities)
capabilities - the available capabilities.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||