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(ICoverageNode.CounterEntity 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(ICounter.CounterValue value)
Sets the value to check.
|
public Limit()
ICoverageNode.CounterEntity.INSTRUCTION
ICounter.CounterValue.COVEREDRATIO
public ICoverageNode.CounterEntity getEntity()
public void setCounter(ICoverageNode.CounterEntity entity)
entity
- counter entity to checkpublic ICounter.CounterValue getValue()
public void setValue(ICounter.CounterValue 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
checkedCopyright © 2013. All rights reserved.