com.foxsmart.csu.config.global.classmap
Class MatchInfoAccessGroupName

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.classmap.MatchInfo
          extended by com.foxsmart.csu.config.global.classmap.MatchInfoAccessGroupName
All Implemented Interfaces:
java.io.Serializable

public class MatchInfoAccessGroupName
extends MatchInfo

The MatchInfoAccessGroupName class provides match information for access group names.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
MatchInfoAccessGroupName()
          Constructs a match info access group name object.
 
Method Summary
 java.lang.String generateIos()
          Generates the IOS string associated with this part of the router configuration.
 java.lang.String getName()
          Gets the access group name.
 void setName(java.lang.String name)
          Sets the access group name.
 void validate()
          Validates this component.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchInfoAccessGroupName

public MatchInfoAccessGroupName()
Constructs a match info access group name object.

Method Detail

setName

public void setName(java.lang.String name)
Sets the access group name.

Parameters:
name - The access group name.

getName

public java.lang.String getName()
Gets the access group name.

Returns:
the access group name.

validate

public void validate()
              throws InvalidConfigurationException
Description copied from class: MatchInfo
Validates this component.

Specified by:
validate in class MatchInfo
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

public java.lang.String generateIos()
                             throws InvalidConfigurationException
Description copied from class: MatchInfo
Generates the IOS string associated with this part of the router configuration.

Specified by:
generateIos in class MatchInfo
Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent


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