Class Analysis
java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.Analysis
- All Implemented Interfaces:
Serializable
Java Bean class for dependencies found by DependencyCheck.
- Since:
- 1.0.0
- Author:
- Steve Springett (steve.springett@owasp.org)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependency
(Dependency dependency) Adds a new dependency to this collection.Returns a read-only collection of all dependencies from the analysis.void
setProjectInfo
(ProjectInfo projectInfo) void
setScanInfo
(ScanInfo scanInfo)
-
Constructor Details
-
Analysis
public Analysis()
-
-
Method Details
-
getScanInfo
-
setScanInfo
-
getProjectInfo
-
setProjectInfo
-
addDependency
Adds a new dependency to this collection.- Parameters:
dependency
- the dependency to add
-
getDependencies
Returns a read-only collection of all dependencies from the analysis.- Returns:
- all dependencies from the analysis
-