All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backbase.oss.boat.quay.model.BoatViolation Maven / Gradle / Ivy

There is a newer version: 0.17.37
Show newest version
package com.backbase.oss.boat.quay.model;

import com.fasterxml.jackson.core.JsonPointer;
import kotlin.ranges.IntRange;
import lombok.Data;
import org.zalando.zally.rule.api.Severity;

@Data
public class BoatViolation {


    private BoatLintRule rule;
    private String description;
    private Severity severity;
    private IntRange lines;
    private JsonPointer pointer;

    public String displayString() {
        return "[" + rule.getId() + "] " + severity + " - " + rule.getTitle() + ": " + description;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy