com.commercetools.rmf.diff.Check Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ctp-validators Show documentation
Show all versions of ctp-validators Show documentation
RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework
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;
}
}