com.foxsmart.csu.config.global
Class DynamicAccessListInfo

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

public class DynamicAccessListInfo
extends CiscoRouterConfigParser
implements java.io.Serializable

This class provides all the details of a dynamic extended access list.

See Also:
Serialized Form

Field Summary
static java.lang.String DYNAMIC
           
static java.lang.Integer MAX_TIME_TO_LIVE
          Maximium time to live value.
static java.lang.Integer MIN_TIME_TO_LIVE
          Minimum time to live value.
static java.lang.String TIMEOUT
           
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
DynamicAccessListInfo()
          Constructs a DynamicAccessListInfo object
 
Method Summary
 java.lang.String generateIos()
           
 java.lang.String getDynamicListName()
          Gets the dynamic list name.
 java.lang.Integer getMaxTimeToLive()
          Gets the max time to live.
 void setDynamicListName(java.lang.String dynamicListName)
          Sets the dynamic list name.
 void setMaxTimeToLive(java.lang.Integer maxTimeToLive)
          Sets the max time to live.
 void validate()
           
 
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
 

Field Detail

MIN_TIME_TO_LIVE

public static final java.lang.Integer MIN_TIME_TO_LIVE
Minimum time to live value.


MAX_TIME_TO_LIVE

public static final java.lang.Integer MAX_TIME_TO_LIVE
Maximium time to live value.


DYNAMIC

public static final java.lang.String DYNAMIC
See Also:
Constant Field Values

TIMEOUT

public static final java.lang.String TIMEOUT
See Also:
Constant Field Values
Constructor Detail

DynamicAccessListInfo

public DynamicAccessListInfo()
Constructs a DynamicAccessListInfo object

Method Detail

setDynamicListName

public void setDynamicListName(java.lang.String dynamicListName)
Sets the dynamic list name.

Parameters:
dynamicListName - The dynamic list name.

getDynamicListName

public java.lang.String getDynamicListName()
Gets the dynamic list name.

Returns:
the dynamic list name.

setMaxTimeToLive

public void setMaxTimeToLive(java.lang.Integer maxTimeToLive)
Sets the max time to live. Valid values: 1-9999 or null.

Parameters:
maxTimeToLive - The max time to live.

getMaxTimeToLive

public java.lang.Integer getMaxTimeToLive()
Gets the max time to live.

Returns:
the max time to live.

validate

public void validate()
              throws InvalidConfigurationException
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

public java.lang.String generateIos()
                             throws InvalidConfigurationException
Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent


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