|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.DependencyCheck.Options
public class Options
A container object that holds all of the configurable options to be used by a DependencyCheck analysis.
| Constructor Summary | |
|---|---|
Options()
|
|
| Method Summary | |
|---|---|
void |
addScanPath(hudson.FilePath scanPath)
Add a file and/or directory to scan. |
URL |
getCentralUrl()
Returns the non-default Maven Central URL to use. |
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. |
String |
getProxyPassword()
Returns the password to use to authenticate through the proxy server. |
int |
getProxyPort()
Returns the port number to the proxy server. |
String |
getProxyServer()
Returns the server (hostname/IP) of the proxy server. |
String |
getProxyUsername()
Returns the username to use to authenticate through the proxy server. |
ArrayList<hudson.FilePath> |
getScanPath()
Returns the files and/or directory[s] to scan. |
Serializable |
getSuppressionFile()
Returns the suppression file. |
hudson.FilePath |
getSuppressionFilePath()
Returns the suppression file. |
URL |
getSuppressionUrl()
Returns the suppression file. |
hudson.FilePath |
getTempPath()
Returns the full path of the temporary directory. |
boolean |
getUseMavenArtifactsScanPath()
Returns if the scan path is solely populated by Maven artifacts. |
hudson.FilePath |
getVerboseLoggingFile()
Returns the verbose logging file. |
String |
getWorkspace()
Returns the path to the project workspace. |
String |
getZipExtensions()
Returns the zip extensions. |
boolean |
isArchiveAnalyzerEnabled()
Returns if the Archive analyzer is enabled or not. |
boolean |
isAssemblyAnalyzerEnabled()
Returns if the Assembly analyzer is enabled or not. |
boolean |
isAutoUpdate()
Returns whether auto-updating of the NVD CVE/CPE data is enabled. |
boolean |
isCentralAnalyzerEnabled()
Returns if the Maven Central analyzer is enabled or not. |
boolean |
isJarAnalyzerEnabled()
Returns if the Jar analyzer is enabled or not. |
boolean |
isJavascriptAnalyzerEnabled()
Returns if the Javascript analyzer is enabled or not. |
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 |
isNuspecAnalyzerEnabled()
Returns if the NuSpec analyzer is enabled or not. |
boolean |
isShowEvidence()
Returns a boolean value (true/false) whether or not the evidence collected about a dependency is displayed in the report. |
void |
setArchiveAnalyzerEnabled(boolean archiveAnalyzerEnabled)
Sets if the Archive analyzer is enabled or not. |
void |
setAssemblyAnalyzerEnabled(boolean assemblyAnalyzerEnabled)
Sets if the Assembly analyzer is enabled or not. |
void |
setAutoUpdate(boolean autoUpdate)
Sets whether auto-updating of the NVD CVE/CPE data is enabled. |
void |
setCentralAnalyzerEnabled(boolean centralAnalyzerEnabled)
Sets if the Maven Central analyzer is enabled or not. |
void |
setCentralUrl(URL centralUrl)
Specifies the non-default Maven Central URL to use. |
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 |
setJarAnalyzerEnabled(boolean jarAnalyzerEnabled)
Sets if the Jar analyzer is enabled or not. |
void |
setJavascriptAnalyzerEnabled(boolean javascriptAnalyzerEnabled)
Sets if the Javascript analyzer is enabled or not. |
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 |
setNuspecAnalyzerEnabled(boolean nuspecAnalyzerEnabled)
Sets if the NuSpec analyzer is enabled or not. |
void |
setOutputDirectory(hudson.FilePath outputDirectory)
Sets the destination directory for the generated report. |
void |
setProxyPassword(String proxyPassword)
Sets the password to use to authenticate through the proxy server. |
void |
setProxyPort(int proxyPort)
Sets the port number to the proxy server. |
void |
setProxyServer(String proxyServer)
Sets the server (hostname/IP) of the proxy server. |
void |
setProxyUsername(String proxyUsername)
Sets the username to use to authenticate through the proxy server. |
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(Serializable file)
Sets the suppression file to use. |
void |
setTempPath(hudson.FilePath tempPath)
Specifies the full path of the temporary directory. |
void |
setUseMavenArtifactsScanPath(boolean useMavenArtifactsScanPath)
Sets if the scan path is solely populated by Maven artifacts. |
void |
setVerboseLoggingFile(hudson.FilePath file)
Sets whether verbose logging of the Dependency-Check engine and analyzers is enabled. |
void |
setWorkspace(String workspace)
Sets the path to the project workspace. |
void |
setZipExtensions(String extensions)
Sets the zip extensions - must be comma separated. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Options()
| Method Detail |
|---|
public String getWorkspace()
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 setWorkspace(String workspace)
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 Serializable getSuppressionFile()
public void setSuppressionFile(Serializable file)
public URL getSuppressionUrl()
public hudson.FilePath getSuppressionFilePath()
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 String getProxyServer()
public void setProxyServer(String proxyServer)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public boolean getUseMavenArtifactsScanPath()
public void setUseMavenArtifactsScanPath(boolean useMavenArtifactsScanPath)
public boolean isJarAnalyzerEnabled()
public void setJarAnalyzerEnabled(boolean jarAnalyzerEnabled)
public boolean isJavascriptAnalyzerEnabled()
public void setJavascriptAnalyzerEnabled(boolean javascriptAnalyzerEnabled)
public boolean isArchiveAnalyzerEnabled()
public void setArchiveAnalyzerEnabled(boolean archiveAnalyzerEnabled)
public boolean isAssemblyAnalyzerEnabled()
public void setAssemblyAnalyzerEnabled(boolean assemblyAnalyzerEnabled)
public boolean isNuspecAnalyzerEnabled()
public void setNuspecAnalyzerEnabled(boolean nuspecAnalyzerEnabled)
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 boolean isCentralAnalyzerEnabled()
public void setCentralAnalyzerEnabled(boolean centralAnalyzerEnabled)
public URL getCentralUrl()
public void setCentralUrl(URL centralUrl)
public hudson.FilePath getMonoPath()
public void setMonoPath(hudson.FilePath monoPath)
public hudson.FilePath getTempPath()
public void setTempPath(hudson.FilePath tempPath)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||