com.backbase.oss.boat.quay.model.BoatLintReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boat-quay-lint Show documentation
Show all versions of boat-quay-lint Show documentation
Backbase Open Api Tools QUAlitY module
package com.backbase.oss.boat.quay.model;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;
@Data
public class BoatLintReport {
private String title;
private String version;
private String filePath;
private String openApi;
private List violations = new ArrayList<>();
private List availableRules = new ArrayList<>();
public boolean hasViolations() {
return !violations.isEmpty();
}
public String getFileName() {
return StringUtils.substringBeforeLast(StringUtils.substringAfterLast(filePath, File.separator), ".");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy