|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.internal.BaseEnum
com.cisco.provisioning.cpe.events.SystemConfigEventType
com.cisco.provisioning.cpe.events.ServerConfigEventType
public class ServerConfigEventType
The ServerConfigEventType class provides an enumeration of
SystemConfigEventTypes which may be signaled by a
SystemConfigEvent of subclass
SystemConfigListener.SERVER_DEFAULTS_CHANGE.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.cisco.provisioning.cpe.internal.BaseEnum |
|---|
com.cisco.provisioning.cpe.internal.BaseEnum.CompareDifferentClassEnumException |
| Field Summary | |
|---|---|
static ServerConfigEventType |
Agent
Constant for the system configuration event type Agent. |
static ServerConfigEventType |
CNR
Constant for the system configuration event type CNR. |
static ServerConfigEventType |
DPE
Constant for the system configuration event type DPE. |
static ServerConfigEventType |
RDU
Constant for the system configuration event type RDU. |
| Fields inherited from class com.cisco.provisioning.cpe.events.SystemConfigEventType |
|---|
ADD_CLASS_OF_SERVICE, BPR, CablehomeWanData, CablehomeWanMan, Computer, CustomCPE, CustomPropertyDefs, DELETE_CLASS_OF_SERVICE, DOCSIS, ExtensionPointSettings, LICENSE, PacketCableMTA, PUBLISH, STB, TFTP, USER |
| Fields inherited from class com.cisco.provisioning.cpe.internal.BaseEnum |
|---|
NAME, VALUE |
| Constructor Summary | |
|---|---|
ServerConfigEventType()
Default constructor needed for externalization. |
|
| Method Summary | |
|---|---|
static SystemConfigEventType |
getNamed(String name)
Returns the ServerConfigEventType object with the selected name (or null if it does not exist). |
static SortedSet |
getSortedSet()
Return a sorted set of the enumeration codes associated with the enumeration type defined in this class. |
static SystemConfigEventType |
getValued(int value)
Returns the ServerConfigEventType object with the selected value (or null if it does not exist). |
static Iterator |
iterator()
Return an iterator over the enumeration codes associated with the enumeration type defined in this class. |
static int |
maxVal()
Return the maximum ordinal value in this enumeration, or -1 if no enumeration codes are defined. |
void |
readExternal(ObjectInput in)
Externalizable interface. |
static int |
size()
Return an integer giving the total number of enumeration codes associated with this enumeration type. |
void |
writeExternal(ObjectOutput out)
Externalizable interface. |
| Methods inherited from class com.cisco.provisioning.cpe.internal.BaseEnum |
|---|
compareNames, compareTo, compareValues, getName, getSortByNameComparator, getValue, toString, toStringWithValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ServerConfigEventType Agent
public static final ServerConfigEventType CNR
public static final ServerConfigEventType DPE
public static final ServerConfigEventType RDU
| Constructor Detail |
|---|
public ServerConfigEventType()
Note: This constructor is ONLY used for externalization. Use the defined constants instead.
| Method Detail |
|---|
public static SystemConfigEventType getNamed(String name)
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired ServerConfigEventType object.
name - the name associated with the desired instance of
ServerConfigEventType
public static SortedSet getSortedSet()
The set returned does not support modifications. Set methods would modify the set will throw an UnsupportedOperationException.
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired object.
public static SystemConfigEventType getValued(int value)
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired ServerConfigEventType object.
value - the value associated with the desired instance of
ServerConfigEventType
public static Iterator iterator()
The iterator returned does not support modifications. The remove method will throw an UnsupportedOperationException.
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired object.
public static int maxVal()
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired object.
public static int size()
Note: This method is for internal use only. Please use the constants defined on this class to retrieve the desired object.
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SystemConfigEventTypein - the stream to read data from in order to restore the object
IOException - if I/O errors occur
ClassNotFoundException - If the class for an object being
restored cannot be found.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class SystemConfigEventTypeout - the stream to write the object to
IOException - Includes any I/O exceptions that may occur
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||