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

io.qameta.allure.severity.SeverityLevel Maven / Gradle / Ivy

There is a newer version: 2.32.0
Show newest version

package io.qameta.allure.severity;

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


/**
 * 

Java class for SeverityLevel. * *

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

*

 * <simpleType name="SeverityLevel">
 *   <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 = "SeverityLevel", namespace = "urn:severity.allure.qameta.io") @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