org.whitesource.agent.api.model.FilesMathchingStepInfo 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.model;
import java.util.Objects;
/**
* @author chen.luigi
*/
public class FilesMathchingStepInfo extends StepInfo {
/* --- Private Members --- */
private int totalSourceBinariesFound;
/* --- Constructors --- */
public FilesMathchingStepInfo(int totalSourceBinariesFound) {
super();
this.totalSourceBinariesFound = totalSourceBinariesFound;
}
/* --- Overridden methods --- */
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof FilesMathchingStepInfo)) return false;
if (!super.equals(o)) return false;
FilesMathchingStepInfo that = (FilesMathchingStepInfo) o;
return totalSourceBinariesFound == that.totalSourceBinariesFound;
}
@Override
public int hashCode() {
return Objects.hash(super.hashCode(), totalSourceBinariesFound);
}
/* --- Getters / Setters --- */
public int getTotalSourceBinariesFound() {
return totalSourceBinariesFound;
}
public void setTotalSourceBinariesFound(int totalSourceBinariesFound) {
this.totalSourceBinariesFound = totalSourceBinariesFound;
}
}