![JAR search and dependency download from the Maven repository](/logo.png)
com.conveyal.gtfs.validator.model.ValidationResult Maven / Gradle / Ivy
package com.conveyal.gtfs.validator.model;
import com.conveyal.gtfs.GTFSFeed;
import com.conveyal.gtfs.error.GTFSError;
import java.io.Serializable;
import java.util.Date;
import java.util.NavigableSet;
public class ValidationResult implements Serializable {
public String fileName;
public String validationTimestamp;
public long errorCount;
public NavigableSet errors;
public ValidationResult (String fileName, GTFSFeed feed) {
this.fileName = fileName;
this.validationTimestamp = new Date().toString();
this.errorCount = feed.errors.size();
this.errors = feed.errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy