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

ru.yandex.qatools.allure.model.LabelName 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 label-name. * *

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

*

 * <simpleType name="label-name">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="feature"/>
 *     <enumeration value="story"/>
 *     <enumeration value="severity"/>
 *     <enumeration value="language"/>
 *     <enumeration value="framework"/>
 *     <enumeration value="issue"/>
 *     <enumeration value="testId"/>
 *     <enumeration value="host"/>
 *     <enumeration value="thread"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "label-name") @XmlEnum public enum LabelName { @XmlEnumValue("feature") FEATURE("feature"), @XmlEnumValue("story") STORY("story"), @XmlEnumValue("severity") SEVERITY("severity"), @XmlEnumValue("language") LANGUAGE("language"), @XmlEnumValue("framework") FRAMEWORK("framework"), @XmlEnumValue("issue") ISSUE("issue"), @XmlEnumValue("testId") TEST_ID("testId"), @XmlEnumValue("host") HOST("host"), @XmlEnumValue("thread") THREAD("thread"); private final String value; LabelName(String v) { value = v; } public String value() { return value; } public static LabelName fromValue(String v) { for (LabelName c: LabelName.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy