| Constructor and Description |
|---|
Purge()
Construct a new DependencyCheckTask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the dependency-check purge to delete the existing local copy of
the NVD CVE data.
|
String |
getDataDirectory()
Get the value of dataDirectory.
|
Settings |
getSettings() |
boolean |
isFailOnError()
Get the value of failOnError.
|
protected void |
populateSettings()
Takes the properties supplied and updates the dependency-check settings.
|
void |
setDataDirectory(String dataDirectory)
Set the value of dataDirectory.
|
void |
setFailOnError(boolean failOnError)
Set the value of failOnError.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic Settings getSettings()
public String getDataDirectory()
public void setDataDirectory(String dataDirectory)
dataDirectory - new value of dataDirectorypublic boolean isFailOnError()
public void setFailOnError(boolean failOnError)
failOnError - new value of failOnErrorpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - thrown if there is a problem deleting the file(s)protected void populateSettings()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - thrown if the properties file cannot be read.Copyright © 2012–2018 OWASP. All rights reserved.