|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.interfacepkg.RateLimitAction
public abstract class RateLimitAction
The RateLimitAction class is the abstract base class for various rate limit actions.
| Field Summary |
|---|
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
RateLimitAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateIosString()
Generates the IOS configuration for this rate limit action. |
abstract boolean |
getActionAssociatedWithValue()
Determines whether this action is associated with a value or not. |
abstract java.lang.String |
getActionKeyword()
Gets the keyword for this action (e.g. |
java.lang.Integer |
getMaxValue()
Returns the maximum value for this action. |
java.lang.Integer |
getMinValue()
Returns the minimum value for this action. |
java.lang.Integer |
getValue()
Gets the value for this action. |
void |
setValue(java.lang.Integer value)
Sets the value for this action. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RateLimitAction()
| Method Detail |
|---|
public abstract boolean getActionAssociatedWithValue()
public abstract java.lang.String getActionKeyword()
public java.lang.Integer getMinValue()
public java.lang.Integer getMaxValue()
public java.lang.Integer getValue()
public void setValue(java.lang.Integer value)
value - the value
public void validate()
throws InvalidConfigurationException
InvalidConfigurationException - if the rate limit action is not valid.CiscoRouterConfigComponent
public java.lang.String generateIosString()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||