    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 name, String description, String message, String 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 name, String description, String message, String 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  }