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

com.commercetools.rmf.diff.Check Maven / Gradle / Ivy

Go to download

RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework

There is a newer version: 1.0.0-20241120142200
Show newest version
package com.commercetools.rmf.diff;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import java.util.ArrayList;
import java.util.List;

public class Check {
    @JacksonXmlProperty(localName = "name")
    private String name;

    @JacksonXmlElementWrapper(localName = "options")
    private List options = new ArrayList<>();

    @JacksonXmlProperty(localName = "severity")
    private CheckSeverity severity = CheckSeverity.INFO;

    @JsonCreator
    public Check() {
    }

    public Check(String name, CheckSeverity severity, List options) {
        this.name = name;
        this.options = options;
        this.severity = severity;
    }

    public String getName() {
        return name;
    }

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

    public List getOptions() {
        return options;
    }

    public void setOptions(List options) {
        this.options = options;
    }

    public CheckSeverity getSeverity() {
        return severity;
    }

    public void setSeverity(CheckSeverity severity) {
        this.severity = severity;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy