| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.LineLengthRule
LineLengthRule | public class LineLengthRule extends InspectorBase implements Parameterizable(Code) | | ER-029
Line is too long
author: Pavel Vlasov version: $Revision: 1.8 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures rule. | public void | visit(Token element) Reviews the actual line, if it is longer than the allowed maximum. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object parameter) throws ConfigurationException(Code) | | Configures rule. Reads in the values of the parameter line-max-length.
Parameters: name - the name of the parameter being loaded from Hammurapi configuration Parameters: value - the value of the parameter being loaded from Hammurapi configuration exception: ConfigurationException - in case of a not supported parameter name, or value. |
visit | public void visit(Token element)(Code) | | Reviews the actual line, if it is longer than the allowed maximum.
Parameters: element - the element to be reviewed. |
|
|