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

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.MatchInfoInputInterface
All Implemented Interfaces:
java.io.Serializable

public class MatchInfoInputInterface
extends MatchInfo

The MatchInfoInputInterface class specifies an input interface to match.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
MatchInfoInputInterface()
          Constructs a match info input interface object.
 
Method Summary
 java.lang.String generateIos()
          Generates the IOS string associated with this part of the router configuration.
 java.lang.String getInterfaceName()
          Gets the interface name.
 void setInterfaceName(java.lang.String interfaceName)
          Sets the interface name (e.g.
 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

MatchInfoInputInterface

public MatchInfoInputInterface()
Constructs a match info input interface object.

Method Detail

setInterfaceName

public void setInterfaceName(java.lang.String interfaceName)
Sets the interface name (e.g. Serial0).

Parameters:
interfaceName - The interface name.

getInterfaceName

public java.lang.String getInterfaceName()
Gets the interface name.

Returns:
the interface 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.