|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.check.Limit
public class Limit
Descriptor for a limit which is given by a Rule.
| Constructor Summary | |
|---|---|
Limit()
Creates a new instance with the following defaults: counter entity: ICoverageNode.CounterEntity.INSTRUCTION
counter value: ICounter.CounterValue.COVEREDRATIO
minimum: no limit
maximum: no limit
|
|
| Method Summary | |
|---|---|
ICoverageNode.CounterEntity |
getEntity()
|
String |
getMaximum()
|
String |
getMinimum()
|
ICounter.CounterValue |
getValue()
|
void |
setCounter(String entity)
Sets the counter entity to check. |
void |
setMaximum(String maximum)
Sets allowed maximum value as decimal string representation. |
void |
setMinimum(String minimum)
Sets allowed minimum value as decimal string representation. |
void |
setValue(String value)
Sets the value to check. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Limit()
ICoverageNode.CounterEntity.INSTRUCTION
ICounter.CounterValue.COVEREDRATIO
| Method Detail |
|---|
public ICoverageNode.CounterEntity getEntity()
public void setCounter(String entity)
entity - counter entity to check
TODO: use CounterEntity directly once Maven 3 is required.public ICounter.CounterValue getValue()
public void setValue(String value)
value - value to check
TODO: use CounterValue directly once Maven 3 is required.public String getMinimum()
null if no minimum is
givenpublic void setMinimum(String minimum)
minimum - allowed minimum or null, if no minimum should be
checkedpublic String getMaximum()
null if no maximum is
givenpublic void setMaximum(String maximum)
maximum - allowed maximum or null, if no maximum should be
checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||