Class RulesBuilder


  • public class RulesBuilder
    extends java.lang.Object
    For unit testing and internal use only.
    Since:
    4.2
    • Constructor Summary

      Constructors 
      Constructor Description
      RulesBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NewRule add​(org.sonar.api.rule.RuleKey key)  
      org.sonar.api.batch.rule.Rules build()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RulesBuilder

        public RulesBuilder()
    • Method Detail

      • add

        public NewRule add​(org.sonar.api.rule.RuleKey key)
      • build

        public org.sonar.api.batch.rule.Rules build()