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

ru.yandex.qatools.allure.model.SeverityLevel Maven / Gradle / Ivy

The newest version!

package ru.yandex.qatools.allure.model;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for severity-level. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="severity-level">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="blocker"/>
 *     <enumeration value="critical"/>
 *     <enumeration value="normal"/>
 *     <enumeration value="minor"/>
 *     <enumeration value="trivial"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "severity-level") @XmlEnum public enum SeverityLevel { @XmlEnumValue("blocker") BLOCKER("blocker"), @XmlEnumValue("critical") CRITICAL("critical"), @XmlEnumValue("normal") NORMAL("normal"), @XmlEnumValue("minor") MINOR("minor"), @XmlEnumValue("trivial") TRIVIAL("trivial"); private final String value; SeverityLevel(String v) { value = v; } public String value() { return value; } public static SeverityLevel fromValue(String v) { for (SeverityLevel c: SeverityLevel.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy