|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.owasp.dependencycheck.taskdefs.DependencyCheckTask
public class DependencyCheckTask
An Ant task definition to execute dependency-check during an Ant build.
| Nested Class Summary | |
|---|---|
static class |
DependencyCheckTask.ReportFormats
An enumeration of supported report formats: "ALL", "HTML", "XML", "VULN", etc.. |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
DependencyCheckTask()
Construct a new DependencyCheckTask. |
|
| Method Summary | |
|---|---|
void |
add(org.apache.tools.ant.types.ResourceCollection rc)
Add an arbitrary ResourceCollection. |
void |
execute()
|
String |
getApplicationName()
Get the value of applicationName. |
String |
getConnectionTimeout()
Get the value of connectionTimeout. |
String |
getDataDirectory()
Get the value of dataDirectory. |
float |
getFailBuildOnCVSS()
Get the value of failBuildOnCVSS. |
String |
getProxyPort()
Get the value of proxyPort. |
String |
getProxyUrl()
Get the value of proxyUrl. |
String |
getReportFormat()
Get the value of reportFormat. |
String |
getReportOutputDirectory()
Get the value of reportOutputDirectory. |
boolean |
isAutoUpdate()
Get the value of autoUpdate. |
boolean |
isReference()
Learn whether the refid attribute of this element been set. |
void |
setApplicationName(String applicationName)
Set the value of applicationName. |
void |
setAutoUpdate(boolean autoUpdate)
Set the value of autoUpdate. |
void |
setConnectionTimeout(String connectionTimeout)
Set the value of connectionTimeout. |
void |
setDataDirectory(String dataDirectory)
Set the value of dataDirectory. |
void |
setFailBuildOnCVSS(float failBuildOnCVSS)
Set the value of failBuildOnCVSS. |
void |
setProxyPort(String proxyPort)
Set the value of proxyPort. |
void |
setProxyUrl(String proxyUrl)
Set the value of proxyUrl. |
void |
setRefid(org.apache.tools.ant.types.Reference r)
Add a reference to a Path, FileSet, DirSet, or FileList defined elsewhere. |
void |
setReportFormat(DependencyCheckTask.ReportFormats reportFormat)
Set the value of reportFormat. |
void |
setReportOutputDirectory(String reportOutputDirectory)
Set the value of reportOutputDirectory. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyCheckTask()
| Method Detail |
|---|
public void add(org.apache.tools.ant.types.ResourceCollection rc)
rc - the ResourceCollection to add.public boolean isReference()
public void setRefid(org.apache.tools.ant.types.Reference r)
r - the reference to a path, fileset, dirset or filelist.public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName - new value of applicationNamepublic String getDataDirectory()
public void setDataDirectory(String dataDirectory)
dataDirectory - new value of dataDirectorypublic String getReportOutputDirectory()
public void setReportOutputDirectory(String reportOutputDirectory)
reportOutputDirectory - new value of reportOutputDirectorypublic float getFailBuildOnCVSS()
public void setFailBuildOnCVSS(float failBuildOnCVSS)
failBuildOnCVSS - new value of failBuildOnCVSSpublic boolean isAutoUpdate()
public void setAutoUpdate(boolean autoUpdate)
autoUpdate - new value of autoUpdatepublic String getReportFormat()
public void setReportFormat(DependencyCheckTask.ReportFormats reportFormat)
reportFormat - new value of reportFormatpublic String getProxyUrl()
public void setProxyUrl(String proxyUrl)
proxyUrl - new value of proxyUrlpublic String getProxyPort()
public void setProxyPort(String proxyPort)
proxyPort - new value of proxyPortpublic String getConnectionTimeout()
public void setConnectionTimeout(String connectionTimeout)
connectionTimeout - new value of connectionTimeout
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||