com.foxsmart.csu.config.global
Class ExtIpNameAccessListEntry

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.AccessListEntry
          extended by com.foxsmart.csu.config.global.ExtIpAccessListEntry
              extended by com.foxsmart.csu.config.global.ExtIpNameAccessListEntry
All Implemented Interfaces:
NameAccessListEntry, java.io.Serializable

public class ExtIpNameAccessListEntry
extends ExtIpAccessListEntry
implements NameAccessListEntry

The ExtIpNameAccessListEntry represents an extended IP access list associated with a name.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.global.ExtIpAccessListEntry
DSCP, LOG_TYPE_LOG, LOG_TYPE_LOG_INPUT, PRECEDENCE, TIME_RANGE, TOS
 
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
ExtIpNameAccessListEntry()
          Constructs a Standard IP name access list entry object.
 
Method Summary
 void buildFromIos(java.lang.String line)
          See comments in CiscoRouterConfigComponent.
 Commands generateIos()
           
 java.lang.String getAccessListName()
          Gets the access list name.
 void setAccessListName(java.lang.String accessListName)
          Sets the access list name.
 void validate()
           
 
Methods inherited from class com.foxsmart.csu.config.global.ExtIpAccessListEntry
buildFromIos, generateIosString, getDestinationMatchInfo, getDscp, getDynamicInfo, getIcmpType, getIgmpType, getIpProtocol, getLogType, getPrecedence, getSourceMatchInfo, getTcpFlagInfo, getTimeRangeEntryName, getTos, setDestinationMatchInfo, setDscp, setDynamicInfo, setIcmpType, setIgmpType, setIpProtocol, setLogType, setPrecedence, setSourceMatchInfo, setTcpFlagInfo, setTimeRangeEntryName, setTos
 
Methods inherited from class com.foxsmart.csu.config.global.AccessListEntry
clone, getFilterType, isAccessNumberSupported, setFilterType, validateAccessListName, validateAccessListNumber, validateFilterType
 
Methods inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
checkExists, checkLineComplete, checkNotEmpty, checkRange, checkTokenCount, checkTokenCount, checkTokenMatch, checkTokenMatch, decrementTokenIndex, generateCommands, getBigDecimalNumberFromString, getDoubleNumberFromString, getEnum, getHexadecimalNumberFromString, getIntegerNumberFromString, getIpAddressFromString, getLine, getLongNumberFromString, getMacAddressFromString, getNextOptionalToken, getNextToken, getToken, getTokenIndex, getTokens, getTotalIndentedLines, getTotalLines, incrementTokenIndex, invalidConfiguration, invalidTokenFound, isEmpty, moreIndentedLines, moreLines, moreTokens, removeLines, resetTokenIndex, setTokenIndex, tokensLeft
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtIpNameAccessListEntry

public ExtIpNameAccessListEntry()
Constructs a Standard IP name access list entry object.

Method Detail

setAccessListName

public void setAccessListName(java.lang.String accessListName)
Sets the access list name.

Specified by:
setAccessListName in interface NameAccessListEntry
Parameters:
accessListName - The access list name.

getAccessListName

public java.lang.String getAccessListName()
Gets the access list name.

Specified by:
getAccessListName in interface NameAccessListEntry
Returns:
the access list name..

buildFromIos

public void buildFromIos(java.lang.String line)
                  throws InvalidConfigurationException
See comments in CiscoRouterConfigComponent.

Specified by:
buildFromIos in interface NameAccessListEntry
Parameters:
line - the IOS line
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

validate

public void validate()
              throws InvalidConfigurationException
Specified by:
validate in interface NameAccessListEntry
Overrides:
validate in class ExtIpAccessListEntry
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

public Commands generateIos()
                     throws InvalidConfigurationException
Specified by:
generateIos in interface NameAccessListEntry
Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.