personal.aug.easy.validation.process.ProcessResult Maven / Gradle / Ivy
package personal.aug.easy.validation.process;
import java.util.ArrayList;
import java.util.List;
import personal.aug.easy.validation.supporttypes.Status;
public class ProcessResult {
private List statusList;
public ProcessResult() {
statusList = new ArrayList<>(0);
}
public ProcessResult(List statusList) {
this.statusList = statusList;
}
public List getStatusList() {
return statusList;
}
public void setStatusList(List statusList) {
this.statusList = statusList;
}
public boolean isValid() {
boolean result = true;
for (Status s : statusList) {
if (s != Status.IS_VALID) {
result = false;
break;
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy