org.whitesource.agent.api.model.DependencyHintsInfo Maven / Gradle / Ivy
Show all versions of wss-agent-api Show documentation
/**
* Copyright (C) 2017 White Source Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.whitesource.agent.api.model;
import java.io.Serializable;
/**
* This class holds all extra information that will help identify a file scanned.
*
* @author chen.luigi
*/
public class DependencyHintsInfo implements Serializable {
/* --- Static members --- */
private static final long serialVersionUID = 776719618926129849L;
/* --- Members --- */
// hints for portable executables (dll, exe)
private String companyName;
private String fileVersion;
private String copyright;
private String originalFilename;
private String productName;
private String productVersion;
// signature details
private String issuerCommonName;
private String subjectCommonName;
/* --- Constructors --- */
public DependencyHintsInfo() {
}
/* --- Getters / Setters --- */
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public String getFileVersion() {
return fileVersion;
}
public void setFileVersion(String fileVersion) {
this.fileVersion = fileVersion;
}
public String getCopyright() {
return copyright;
}
public void setCopyright(String copyright) {
this.copyright = copyright;
}
public String getOriginalFilename() {
return originalFilename;
}
public void setOriginalFilename(String originalFilename) {
this.originalFilename = originalFilename;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getProductVersion() {
return productVersion;
}
public void setProductVersion(String productVersion) {
this.productVersion = productVersion;
}
public String getIssuerCommonName() {
return issuerCommonName;
}
public void setIssuerCommonName(String issuerCommonName) {
this.issuerCommonName = issuerCommonName;
}
public String getSubjectCommonName() {
return subjectCommonName;
}
public void setSubjectCommonName(String subjectCommonName) {
this.subjectCommonName = subjectCommonName;
}
}