org.whitesource.agent.api.dispatch.CheckVulnerabilitiesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wss-agent-api Show documentation
Show all versions of wss-agent-api Show documentation
Java bindings for White Source API
package org.whitesource.agent.api.dispatch;
import org.whitesource.agent.api.model.VulnerabilityInfo;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
/**
* Result for {@link CheckVulnerabilitiesRequest}.
*
* @author ruslan.gogerman
*
* @since 2.5.5
*/
public class CheckVulnerabilitiesResult implements Serializable {
/* --- Static Members --- */
private static final long serialVersionUID = - 6580191828869055056L;
/* --- Members --- */
// stores the sha1 of the euaDep.json used to calculate the vulnerabilities
private String euaDepFileSha1;
private Map> sha1ToVulnerabilitiesMap;
/* --- Constructors --- */
/**
* Default constructor
*/
public CheckVulnerabilitiesResult() {
sha1ToVulnerabilitiesMap = new HashMap<>();
}
public CheckVulnerabilitiesResult(Map> sha1ToVulnerabilitiesMap) {
this.sha1ToVulnerabilitiesMap = sha1ToVulnerabilitiesMap;
}
/* --- Getters / Setters --- */
public Map> getSha1ToVulnerabilitiesMap() {
return sha1ToVulnerabilitiesMap;
}
public void setSha1ToVulnerabilitiesMap(Map> sha1ToVulnerabilitiesMap) {
this.sha1ToVulnerabilitiesMap = sha1ToVulnerabilitiesMap;
}
public String getzEuaDepFileSha1() {
return euaDepFileSha1;
}
public void setEuaDepFileSha1(String euaDepFileSha1) {
this.euaDepFileSha1 = euaDepFileSha1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy