|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.ant.ReportTask.CheckFormatterElement
public class ReportTask.CheckFormatterElement
Formatter element for coverage checks.
Constructor Summary | |
---|---|
ReportTask.CheckFormatterElement()
|
Method Summary | |
---|---|
org.jacoco.report.check.Rule |
createRule()
Creates and adds a new rule. |
org.jacoco.report.IReportVisitor |
createVisitor()
|
void |
onViolation(org.jacoco.core.analysis.ICoverageNode node,
org.jacoco.report.check.Rule rule,
org.jacoco.report.check.Limit limit,
String message)
|
void |
setFailOnViolation(boolean flag)
Sets whether the build should fail in case of a violation. |
void |
setViolationsProperty(String property)
Sets the name of a property to append the violation messages to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportTask.CheckFormatterElement()
Method Detail |
---|
public org.jacoco.report.check.Rule createRule()
public void setFailOnViolation(boolean flag)
true
.
flag
- if true
the build fails on violationpublic void setViolationsProperty(String property)
property
- name of a propertypublic org.jacoco.report.IReportVisitor createVisitor() throws IOException
IOException
public void onViolation(org.jacoco.core.analysis.ICoverageNode node, org.jacoco.report.check.Rule rule, org.jacoco.report.check.Limit limit, String message)
onViolation
in interface org.jacoco.report.check.IViolationsOutput
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |