|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.mojo.macker.LinkedMacker
public class LinkedMacker
Delegator to the Macker tool.
| Constructor Summary | |
|---|---|
LinkedMacker()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkedMacker()
| Method Detail |
|---|
public void addClass(File clazz)
throws IOException,
MojoExecutionException
Macker
addClass in interface MackerIOException - if there's a problem reading a file
MojoExecutionException - if there's a problem parsing a class
public void addRulesFile(File rule)
throws IOException,
MojoExecutionException
Macker
addRulesFile in interface MackerIOException - if there's a problem reading a file
MojoExecutionException - if there's a problem parsing a rule file
public void check()
throws MojoExecutionException,
MojoFailureException
check in interface MackerMojoExecutionException
MojoFailureExceptionpublic void setAngerThreshold(String anger)
setAngerThreshold in interface Mackerpublic void setPrintMaxMessages(int maxMsg)
setPrintMaxMessages in interface Mackerpublic void setPrintThreshold(String print)
setPrintThreshold in interface Macker
public void setVariable(String name,
String value)
setVariable in interface Mackerpublic void setVerbose(boolean verbose)
setVerbose in interface Mackerpublic void setXmlReportFile(File report)
Macker
setXmlReportFile in interface Macker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||