@Mojo(name="check",
defaultPhase=VERIFY,
threadSafe=true)
public class CheckMojo
extends AbstractJacocoMojo
implements IViolationsOutput
| Constructor and Description |
|---|
CheckMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeMojo()
Executes Mojo.
|
void |
onViolation(ICoverageNode node,
Rule rule,
Limit limit,
String message)
Called for every rule violation.
|
execute, getExcludes, getIncludes, getProject, skipMojopublic void executeMojo()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoExecutionException
AbstractJacocoMojoexecuteMojo in class AbstractJacocoMojoorg.apache.maven.plugin.MojoExecutionException - if an unexpected problem occurs. Throwing this exception
causes a "BUILD ERROR" message to be displayed.public void onViolation(ICoverageNode node, Rule rule, Limit limit, String message)
IViolationsOutputonViolation in interface IViolationsOutputnode - node which violates a rulerule - rule which is violatedlimit - limit which is violatedmessage - readable message describing this violationCopyright © 2024. All rights reserved.