com.foxsmart.csu.config.global
Class RemarkNameAccessListEntry
java.lang.Object
com.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.AccessListEntry
com.foxsmart.csu.config.global.RemarkAccessListEntry
com.foxsmart.csu.config.global.RemarkNameAccessListEntry
- All Implemented Interfaces:
- NameAccessListEntry, java.io.Serializable
public class RemarkNameAccessListEntry
- extends RemarkAccessListEntry
- implements NameAccessListEntry
The RemarkNameAccessListEntry is used for remarks that are associated with various named access lists.
- See Also:
- Serialized Form
| 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 |
RemarkNameAccessListEntry
public RemarkNameAccessListEntry()
- Constructs a remark name access list entry object.
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
- 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 RemarkAccessListEntry
- 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.