|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Macker
Abstraction of the Macker tool. There is a linked and a forked implementation.
| Method Summary | |
|---|---|
void |
addClass(File clazz)
Add a class to be checked by Macker. |
void |
addRulesFile(File rule)
Add a rule file to be used by Macker. |
void |
check()
|
void |
setAngerThreshold(String anger)
|
void |
setPrintMaxMessages(int maxMsg)
|
void |
setPrintThreshold(String print)
|
void |
setVariable(String name,
String value)
|
void |
setVerbose(boolean verbose)
|
void |
setXmlReportFile(File report)
Set the XML report file to be used by Macker. |
| Method Detail |
|---|
void addClass(File clazz)
throws IOException,
MojoExecutionException
IOException - if there's a problem reading a file
MojoExecutionException - if there's a problem parsing a class
void addRulesFile(File rule)
throws IOException,
MojoExecutionException
IOException - if there's a problem reading a file
MojoExecutionException - if there's a problem parsing a rule file
void check()
throws MojoExecutionException,
MojoFailureException
MojoExecutionException
MojoFailureExceptionvoid setAngerThreshold(String anger)
void setPrintMaxMessages(int maxMsg)
void setPrintThreshold(String print)
void setVariable(String name,
String value)
void setVerbose(boolean verbose)
void setXmlReportFile(File report)
throws IOException
IOException - if there's a problem with the report file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||