org.sonar.api.batch.analyzer.measure.internal
Class DefaultAnalyzerMeasure<G extends Serializable>

java.lang.Object
  extended by org.sonar.api.batch.analyzer.measure.internal.DefaultAnalyzerMeasure<G>
All Implemented Interfaces:
Serializable, AnalyzerMeasure<G>

public class DefaultAnalyzerMeasure<G extends Serializable>
extends Object
implements AnalyzerMeasure<G>, Serializable

See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 InputFile inputFile()
          The InputFile this measure belongs to.
 Metric<G> metric()
           
 String toString()
           
 G value()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

inputFile

@Nullable
public InputFile inputFile()
Description copied from interface: AnalyzerMeasure
The InputFile this measure belongs to. Returns null if measure is global to the project.

Specified by:
inputFile in interface AnalyzerMeasure<G extends Serializable>

metric

public Metric<G> metric()
Specified by:
metric in interface AnalyzerMeasure<G extends Serializable>

value

public G value()
Specified by:
value in interface AnalyzerMeasure<G extends Serializable>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 SonarSource. All Rights Reserved.