| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.FilesPerPackage
FilesPerPackage | public class FilesPerPackage extends InspectorBase implements Parameterizable(Code) | | ER-059
Packages should be neither too lean nor too fat.
author: Janos Czako version: $Revision: 1.3 $ |
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 parameters containing the
allowed number of files in a package.
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(Package element)(Code) | | Reviews the package, if it contains more files, than the allowed max.
Parameters: element - the package to be reviewed. |
|
|