Package org.sonar.api.server.rule

Examples of org.sonar.api.server.rule.RulesDefinition$NewRepository


  }

  @Test
  public void register_repositories_having_same_name() {
    RulesDefinition.Context context = new RulesDefinition.Context();
    new RulesDefinition() {
      @Override
      public void define(Context context) {
        context.createRepository("squid", "java").setName("SonarQube").done();
      }
    }.define(context);

    // Repository with same name
    new RulesDefinition() {
      @Override
      public void define(Context context) {
        context.createRepository("javascript", "js").setName("SonarQube").done();
      }
    }.define(context);
View Full Code Here

TOP

Related Classes of org.sonar.api.server.rule.RulesDefinition$NewRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.