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

com.sgoertzen.sonarbreak.qualitygate.Result Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package com.sgoertzen.sonarbreak.qualitygate;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.joda.time.DateTime;

import java.util.List;

/**
 * The results from a sonar query for this maven run
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(using = ResultDeserializer.class)
public class Result {
    private String id;
    private String key;
    private String name;
    private DateTime datetime;
    private String version;
    private List conditions;
    private ConditionStatus status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DateTime getDatetime() {
        return datetime;
    }

    public void setDatetime(DateTime datetime) {
        this.datetime = datetime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List getConditions() {
        return conditions;
    }

    public void setConditions(List conditions) {
        this.conditions = conditions;
    }

    public ConditionStatus getStatus() {
        return status;
    }

    public void setStatus(ConditionStatus status) {
        this.status = status;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy