public class Options extends Object implements Serializable
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScanPath(hudson.FilePath scanPath)
Add a file and/or directory to scan
|
URL |
getCveUrl12Base()
Returns the CVE 1.2 base URL
|
URL |
getCveUrl12Modified()
Returns the CVE 1.2 modified URL
|
URL |
getCveUrl20Base()
Returns the CVE 2.0 base URL
|
URL |
getCveUrl20Modified()
Returns the CVE 2.0 modified URL
|
hudson.FilePath |
getDataDirectory()
Returns the data directory.
|
int |
getDataMirroringType()
Returns the data mirroring type (scheme) to use where 0 = none and 1 = NIST CPE/CVE
|
org.owasp.dependencycheck.reporting.ReportGenerator.Format |
getFormat()
Returns the report format to be generated.
|
hudson.FilePath |
getMonoPath()
Returns the full path and filename to the Mono binary
|
String |
getName()
Returns the name of the report to be displayed
|
URL |
getNexusUrl()
Returns the non-default Nexus URL to use
|
hudson.FilePath |
getOutputDirectory()
Returns the destination directory for the generated report.
|
ArrayList<hudson.FilePath> |
getScanPath()
Returns the files and/or directory[s] to scan.
|
hudson.FilePath |
getSuppressionFile()
Returns the suppression file
|
hudson.FilePath |
getVerboseLoggingFile()
Returns the verbose logging file
|
String |
getZipExtensions()
Returns the zip extensions
|
boolean |
isAutoUpdate()
Returns whether auto-updating of the NVD CVE/CPE data is enabled.
|
boolean |
isNexusAnalyzerEnabled()
Returns if the Nexus analyzer is enabled or not
|
boolean |
isNexusProxyBypassed()
Returns if the Nexus analyzer should bypass any proxy defined in Jenkins
|
boolean |
isShowEvidence()
Returns a boolean value (true/false) whether or not the evidence collected
about a dependency is displayed in the report.
|
void |
setAutoUpdate(boolean autoUpdate)
Sets whether auto-updating of the NVD CVE/CPE data is enabled.
|
void |
setCveUrl12Base(URL url)
Sets the CVE 1.2 base URL
|
void |
setCveUrl12Modified(URL url)
Sets the CVE 1.2 modified URL
|
void |
setCveUrl20Base(URL url)
Sets the CVE 2.0 base URL
|
void |
setCveUrl20Modified(URL url)
Sets the CVE 2.0 modified URL
|
void |
setDataDirectory(hudson.FilePath dataDirectory)
Sets the data directory.
|
void |
setDataMirroringType(int dataMirroringType)
Sets the data mirroring type
|
void |
setFormat(org.owasp.dependencycheck.reporting.ReportGenerator.Format format)
Sets the report format to be generated.
|
void |
setMonoPath(hudson.FilePath monoPath)
Specifies the full path and filename to the mono binary
|
void |
setName(String name)
Sets the name of the report to be displayed
|
void |
setNexusAnalyzerEnabled(boolean nexusAnalyzerEnabled)
Sets if the Nexus analyzer is enabled or not
|
void |
setNexusProxyBypassed(boolean nexusProxyBypass)
Specifies if the Nexus analyzer should bypass any proxy defined in Jenkins
|
void |
setNexusUrl(URL nexusUrl)
Specifies the non-default Nexus URL to use
|
void |
setOutputDirectory(hudson.FilePath outputDirectory)
Sets the destination directory for the generated report.
|
void |
setScanPath(ArrayList<hudson.FilePath> scanPath)
Sets the file[s] and/or directory[s] to scan
|
void |
setShowEvidence(boolean showEvidence)
Sets a boolean value (true/false) whether or not the evidence collected
about a dependency is displayed in the report.
|
void |
setSuppressionFile(hudson.FilePath file)
Sets the suppression file to use
|
void |
setVerboseLoggingFile(hudson.FilePath file)
Sets whether verbose logging of the Dependency-Check engine and analyzers
is enabled.
|
void |
setZipExtensions(String extensions)
Sets the zip extensions - must be comma separated
|
String |
toString() |
public String getName()
public void setName(String name)
public ArrayList<hudson.FilePath> getScanPath()
public void setScanPath(ArrayList<hudson.FilePath> scanPath)
public void addScanPath(hudson.FilePath scanPath)
public hudson.FilePath getOutputDirectory()
public void setOutputDirectory(hudson.FilePath outputDirectory)
public hudson.FilePath getDataDirectory()
public void setDataDirectory(hudson.FilePath dataDirectory)
public boolean isShowEvidence()
public void setShowEvidence(boolean showEvidence)
public org.owasp.dependencycheck.reporting.ReportGenerator.Format getFormat()
public void setFormat(org.owasp.dependencycheck.reporting.ReportGenerator.Format format)
public boolean isAutoUpdate()
public void setAutoUpdate(boolean autoUpdate)
public hudson.FilePath getVerboseLoggingFile()
public void setVerboseLoggingFile(hudson.FilePath file)
public hudson.FilePath getSuppressionFile()
public void setSuppressionFile(hudson.FilePath file)
public String getZipExtensions()
public void setZipExtensions(String extensions)
public int getDataMirroringType()
public void setDataMirroringType(int dataMirroringType)
public URL getCveUrl12Modified()
public void setCveUrl12Modified(URL url)
public URL getCveUrl20Modified()
public void setCveUrl20Modified(URL url)
public URL getCveUrl12Base()
public void setCveUrl12Base(URL url)
public URL getCveUrl20Base()
public void setCveUrl20Base(URL url)
public boolean isNexusAnalyzerEnabled()
public void setNexusAnalyzerEnabled(boolean nexusAnalyzerEnabled)
public URL getNexusUrl()
public void setNexusUrl(URL nexusUrl)
public boolean isNexusProxyBypassed()
public void setNexusProxyBypassed(boolean nexusProxyBypass)
public hudson.FilePath getMonoPath()
public void setMonoPath(hudson.FilePath monoPath)
Copyright © 2012-2014 OWASP. All Rights Reserved.