|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.ajoberstar.gradle.jdepend.JDepend
public class JDepend
Gradle task that runs a JDepend analysis on your code.
This implementation uses the AntJDepend class to do the work.
See {link: http://clarkware.com/software/JDepend.html} for more information about the tool.
| Field Summary |
|---|
| Fields inherited from interface org.gradle.api.Task |
|---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
| Constructor Summary | |
|---|---|
JDepend()
|
|
| Method Summary | |
|---|---|
java.io.File |
getClassesDir()
Gets the directory containing the classes to analyze. |
java.io.File |
getResultsFile()
Gets the file that will contain the XMl results. |
boolean |
isIgnoreFailures()
Gets whether this task will ignore failures and continue running the build. |
void |
setClassesDir(java.io.File classesDir)
Sets the directory containing the classes to analyze. |
org.gradle.api.tasks.VerificationTask |
setIgnoreFailures(boolean ignoreFailures)
Sets whether this task will ignore failures and continue running the build. |
void |
setResultsFile(java.io.File resultsFile)
Sets the file that will contain the XMl results. |
| Methods inherited from class org.gradle.api.internal.AbstractTask |
|---|
addValidator, captureStandardOutput, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuter, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getTaskDependencies, getTemporaryDir, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDepend()
| Method Detail |
|---|
public java.io.File getClassesDir()
public void setClassesDir(java.io.File classesDir)
classesDir - the classesDir to setpublic java.io.File getResultsFile()
public void setResultsFile(java.io.File resultsFile)
resultsFile - the resultsFile to setpublic boolean isIgnoreFailures()
isIgnoreFailures in interface org.gradle.api.tasks.VerificationTaskpublic org.gradle.api.tasks.VerificationTask setIgnoreFailures(boolean ignoreFailures)
setIgnoreFailures in interface org.gradle.api.tasks.VerificationTaskignoreFailures - the ignoreFailures to set
this
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||