org.sonar.api.batch
Class DefaultFormulaContext

java.lang.Object
  extended by org.sonar.api.batch.DefaultFormulaContext
All Implemented Interfaces:
FormulaContext

public class DefaultFormulaContext
extends Object
implements FormulaContext

Since:
1.11

Constructor Summary
DefaultFormulaContext(Metric metric)
           
 
Method Summary
 org.apache.commons.configuration.Configuration getConfiguration()
          Deprecated. in 3.7. Use Settings.
 Resource getResource()
           
 Metric getTargetMetric()
           
 void setDecoratorContext(DecoratorContext decoratorContext)
           
 void setMetric(Metric metric)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFormulaContext

public DefaultFormulaContext(Metric metric)
Method Detail

getTargetMetric

public Metric getTargetMetric()
Specified by:
getTargetMetric in interface FormulaContext

getResource

public Resource getResource()
Specified by:
getResource in interface FormulaContext

getConfiguration

@Deprecated
public org.apache.commons.configuration.Configuration getConfiguration()
Deprecated. in 3.7. Use Settings.

Specified by:
getConfiguration in interface FormulaContext

setMetric

public void setMetric(Metric metric)

setDecoratorContext

public void setDecoratorContext(DecoratorContext decoratorContext)


Copyright © 2009-2014 SonarSource. All Rights Reserved.