Enum Class JavaRules

java.lang.Object
java.lang.Enum<JavaRules>
rife.bld.extension.pmd.JavaRules
All Implemented Interfaces:
Serializable, Comparable<JavaRules>, Constable

public enum JavaRules extends Enum<JavaRules>
All built-in rules available for Java.
Since:
1.5.0
Author:
Erik C. Thauvin
  • Enum Constant Details

    • BEST_PRACTICES

      public static final JavaRules BEST_PRACTICES
      Best Practices
    • CODE_STYLE

      public static final JavaRules CODE_STYLE
      Code Style
    • DESIGN

      public static final JavaRules DESIGN
      Design
    • DOCUMENTATION

      public static final JavaRules DOCUMENTATION
      Documentation
    • ERROR_PRONE

      public static final JavaRules ERROR_PRONE
      Error Prone
    • MULTITHREADING

      public static final JavaRules MULTITHREADING
      Multithreading
    • PERFORMANCE

      public static final JavaRules PERFORMANCE
      Performance
    • QUICK_START

      public static final JavaRules QUICK_START
      Quick Start (Default RuleSet)
    • SECURITY

      public static final JavaRules SECURITY
      Security
  • Method Details

    • values

      public static JavaRules[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JavaRules valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCategory

      public String getCategory()