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

io.github.pmckeown.dependencytrack.Thresholds Maven / Gradle / Ivy

Go to download

Maven plugin to integrate with a Dependency Track server to submit dependency manifests and gather project metrics.

There is a newer version: 1.7.0
Show newest version
package io.github.pmckeown.dependencytrack;

public class Thresholds {

    private Integer critical;
    private Integer high;
    private Integer medium;
    private Integer low;
    private Integer unassigned;

    public Thresholds() {
        this.critical = null;
        this.high = null;
        this.medium = null;
        this.low = null;
        this.unassigned = null;
    }

    public Thresholds(Integer critical, Integer high, Integer medium, Integer low, Integer unassigned) {
        this.critical = critical;
        this.high = high;
        this.medium = medium;
        this.low = low;
        this.unassigned = unassigned;
    }

    public Integer getCritical() {
        return critical;
    }

    public Integer getHigh() {
        return high;
    }

    public Integer getMedium() {
        return medium;
    }

    public Integer getLow() {
        return low;
    }

    public Integer getUnassigned() {
        return unassigned;
    }

    public boolean isEmpty() {
        return critical == null && high == null && medium == null && low == null && unassigned == null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy