public final class Rule extends Object
Constructor and Description |
---|
Rule()
Creates a new Rule without limits.
|
Modifier and Type | Method and Description |
---|---|
Limit |
createLimit()
Creates and adds a new
Limit . |
ICoverageNode.ElementType |
getElement() |
String |
getExcludes() |
String |
getIncludes() |
List<Limit> |
getLimits() |
void |
setElement(ICoverageNode.ElementType elementType) |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
void |
setLimits(List<Limit> limits) |
public ICoverageNode.ElementType getElement()
public void setElement(ICoverageNode.ElementType elementType)
elementType
- element type this rule applies topublic String getIncludes()
public void setIncludes(String includes)
includes
- includes patternpublic String getExcludes()
public void setExcludes(String excludes)
excludes
- excludes patternspublic void setLimits(List<Limit> limits)
limits
- list of Limit
s configured for this ruleCopyright © 2021. All rights reserved.