com.cx.restclient.sca.utils.fingerprints.CxSCAFileFingerprints Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-client-common Show documentation
Show all versions of cx-client-common Show documentation
Web client for interaction with Checkmarx SAST, SCA and OSA products
package com.cx.restclient.sca.utils.fingerprints;
import java.util.ArrayList;
import java.util.List;
public class CxSCAFileFingerprints {
private String path;
private long size;
private List signatures = new ArrayList<>();
public CxSCAFileFingerprints(String path, long size, List sig) {
this.path = path;
this.size = size;
this.signatures = sig;
}
public CxSCAFileFingerprints(String path, long size) {
this.path = path;
this.size = size;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public long getSize() {
return size;
}
public void setSize(long size) {
this.size = size;
}
public List getSignatures() {
return signatures;
}
public void setSignatures(List signatures) {
this.signatures = signatures;
}
public void addFileSignature(CxSCAFileSignature signature){
this.signatures.add(signature);
}
}