|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.AccessListEntry
com.foxsmart.csu.config.global.ProtocolNumberAccessListEntry
public class ProtocolNumberAccessListEntry
The ProtocolNumberAccessListEntry is used for access lists numbers: 200-299.
| Field Summary | |
|---|---|
static java.lang.Integer |
MAX_AL_NUMBER_RANGE
The maximum access list number. |
static Hexadecimal |
MAX_PROTOCOL_TYPE_CODE
The maximum protocol type mask. |
static java.lang.Integer |
MIN_AL_NUMBER_RANGE
The minimum access list number. |
static Hexadecimal |
MIN_PROTOCOL_TYPE_CODE
The minimum protocol type mask. |
| Fields inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
ANY, DENY, FILTER_TYPE_DENY, FILTER_TYPE_PERMIT, HOST, LOG, LOG_INPUT, PERMIT |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
ProtocolNumberAccessListEntry()
Constructs a protocol access list entry object. |
|
| Method Summary | |
|---|---|
void |
buildFromIos(java.lang.String line)
|
Commands |
generateIos()
|
java.lang.Integer |
getAccessListNumber()
Gets the access list number. |
Hexadecimal |
getProtocolTypeCode()
Gets the protocol type code. |
Hexadecimal |
getProtocolTypeCodeMask()
Gets the protocol type code mask. |
boolean |
isAccessNumberSupported(int accessListNumber)
Determines whether an access list number is supported by a specific access list entry type. |
void |
setAccessListNumber(java.lang.Integer accessListNumber)
Sets the access list number. |
void |
setProtocolTypeCode(Hexadecimal protocolTypeCode)
Sets the protocol type code. |
void |
setProtocolTypeCodeMask(Hexadecimal protocolTypeCodeMask)
Sets the protocol type code mask. |
void |
validate()
|
| Methods inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
clone, getFilterType, isAccessNumberSupported, setFilterType, validateAccessListName, validateAccessListNumber, validateFilterType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Integer MIN_AL_NUMBER_RANGE
public static final java.lang.Integer MAX_AL_NUMBER_RANGE
public static final Hexadecimal MIN_PROTOCOL_TYPE_CODE
public static final Hexadecimal MAX_PROTOCOL_TYPE_CODE
| Constructor Detail |
|---|
public ProtocolNumberAccessListEntry()
| Method Detail |
|---|
public void setAccessListNumber(java.lang.Integer accessListNumber)
setAccessListNumber in interface NumberAccessListEntryaccessListNumber - The access list number.public java.lang.Integer getAccessListNumber()
getAccessListNumber in interface NumberAccessListEntrypublic void setProtocolTypeCode(Hexadecimal protocolTypeCode)
protocolTypeCode - The protocol type code.public Hexadecimal getProtocolTypeCode()
public void setProtocolTypeCodeMask(Hexadecimal protocolTypeCodeMask)
protocolTypeCodeMask - The protocol type code mask.public Hexadecimal getProtocolTypeCodeMask()
public boolean isAccessNumberSupported(int accessListNumber)
isAccessNumberSupported in interface NumberAccessListEntryaccessListNumber - The access list number to verify.
public void buildFromIos(java.lang.String line)
throws InvalidConfigurationException
buildFromIos in interface NumberAccessListEntryline - the IOS line
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public void validate()
throws InvalidConfigurationException
validate in interface NumberAccessListEntryInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateIos()
throws InvalidConfigurationException
generateIos in interface NumberAccessListEntryInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||