KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > net > sourceforge > pmd > testframework > MockRule


1 /**
2  * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3  */

4 package test.net.sourceforge.pmd.testframework;
5
6 import net.sourceforge.pmd.AbstractRule;
7
8 public class MockRule extends AbstractRule {
9
10     public MockRule(String JavaDoc name, String JavaDoc description, String JavaDoc message, String JavaDoc ruleSetName) {
11         super();
12         this.name = name;
13         this.description = description;
14         this.message = message;
15         this.ruleSetName = ruleSetName;
16     }
17
18     public MockRule(String JavaDoc name, String JavaDoc description, String JavaDoc message, String JavaDoc ruleSetName, int priority) {
19         super();
20         this.name = name;
21         this.description = description;
22         this.message = message;
23         this.ruleSetName = ruleSetName;
24         this.priority = priority;
25     }
26
27     public MockRule() {
28         super();
29     }
30 }
31
Popular Tags