Package org.sonar.api.server.debt.internal

Examples of org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction


    return create(DefaultDebtRemediationFunction.Type.CONSTANT_ISSUE, null, offset);
  }

  private DebtRemediationFunction create(DefaultDebtRemediationFunction.Type type, @Nullable String coefficient, @Nullable String offset) {
    try {
      return new DefaultDebtRemediationFunction(type, coefficient, offset);
    } catch (Exception e) {
      throw MessageException.of(String.format("The rule '%s:%s' is invalid : %s ", this.repoKey, this.key, e.getMessage()));
    }
  }
View Full Code Here

TOP

Related Classes of org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction

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.