| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Limit()
ICoverageNode.CounterEntity.INSTRUCTION
ICounter.CounterValue.COVEREDRATIO
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
checkedCopyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.