org.sonar.api.batch
Class DefaultFormulaContext
java.lang.Object
org.sonar.api.batch.DefaultFormulaContext
- All Implemented Interfaces:
- FormulaContext
public class DefaultFormulaContext
- extends Object
- implements FormulaContext
- Since:
- 1.11
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormulaContext
public DefaultFormulaContext(Metric metric)
getTargetMetric
public Metric getTargetMetric()
- Specified by:
getTargetMetric
in interface FormulaContext
getResource
public Resource getResource()
- Specified by:
getResource
in interface FormulaContext
getConfiguration
public org.apache.commons.configuration.Configuration getConfiguration()
- Specified by:
getConfiguration
in interface FormulaContext
setMetric
public void setMetric(Metric metric)
setDecoratorContext
public void setDecoratorContext(DecoratorContext decoratorContext)
Copyright © 2009-2012 SonarSource. All Rights Reserved.