| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.FileHeaderRule
FileHeaderRule | public class FileHeaderRule extends InspectorBase implements Parameterizable(Code) | | ER-100
Copyrights information should be present in each file.
author: Pavel Vlasov version: $Revision: 1.10 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures the rule. | public void | visit(CompilationUnit element) Reviews the compilation unit if it's file violates agaianst the rule. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object parameter) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameter copyright.
Parameters: name - the name of the parameter being loaded from Hammurapi configuration Parameters: parameter - the value of the parameter being loaded from Hammurapi configuration exception: ConfigurationException - in case of a not supported parameter |
visit | public void visit(CompilationUnit element)(Code) | | Reviews the compilation unit if it's file violates agaianst the rule.
Parameters: element - the compilation unit to be reviewed. |
|
|
|