|
||||||||||
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 the expected maximum value. |
void |
setMinimum(String minimum)
Sets the expected minimum value. |
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 checkpublic ICounter.CounterValue getValue()
public void setValue(String value)
value
- value to checkpublic 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 |