%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ca.spaz.cron.user.impl.WeightMetric |
|
|
1 | /* |
|
2 | * Created on 12-Aug-2005 |
|
3 | */ |
|
4 | package ca.spaz.cron.user.impl; |
|
5 | ||
6 | import ca.spaz.cron.user.Metric; |
|
7 | ||
8 | 0 | public class WeightMetric implements Metric { |
9 | double val; |
|
10 | ||
11 | public String getName() { |
|
12 | 0 | return "Weight"; |
13 | } |
|
14 | ||
15 | public Number getValue() { |
|
16 | 0 | return new Double(val); |
17 | } |
|
18 | ||
19 | public void setValue(Number value) { |
|
20 | 0 | val = value.doubleValue(); |
21 | 0 | } |
22 | ||
23 | ||
24 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |