|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Metric | |
|---|---|
| org.sonar.squid.api | |
| org.sonar.squid.indexer | |
| org.sonar.squid.measures | |
| org.sonar.squid.text | |
| Uses of Metric in org.sonar.squid.api |
|---|
| Methods in org.sonar.squid.api with parameters of type Metric | |
|---|---|
Object |
SourceCode.getData(Metric metric)
Deprecated. since 2.1. It's replaced by getData(MetricDef). It's still defined for binary compatibility. |
double |
SourceCode.getDouble(Metric metric)
Deprecated. since 2.1. It's replaced by getDouble(MetricDef). It's still defined for binary compatibility. |
int |
SourceCode.getInt(Metric metric)
Deprecated. since 2.1. It's replaced by getInt(MetricDef). It's still defined for binary compatibility. |
| Uses of Metric in org.sonar.squid.indexer |
|---|
| Constructors in org.sonar.squid.indexer with parameters of type Metric | |
|---|---|
QueryByMeasure(Metric metric,
QueryByMeasure.Operator operator,
double value)
Deprecated. use QueryByMeasure.QueryByMeasure(MetricDef, Operator, double) instead |
|
| Uses of Metric in org.sonar.squid.measures |
|---|
| Methods in org.sonar.squid.measures that return Metric | |
|---|---|
static Metric |
Metric.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Metric[] |
Metric.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Uses of Metric in org.sonar.squid.text |
|---|
| Methods in org.sonar.squid.text with parameters of type Metric | |
|---|---|
int |
Source.getMeasure(Metric metric)
|
int |
Source.getMeasure(Metric metric,
int fromLine,
int toLine)
Numbering of lines starts from 1. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||