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

io.qameta.allure.entity.Status Maven / Gradle / Ivy

There is a newer version: 2.32.0
Show newest version

package io.qameta.allure.entity;

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


/**
 * 

Java class for Status. * *

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

*

 * <simpleType name="Status">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="failed"/>
 *     <enumeration value="broken"/>
 *     <enumeration value="passed"/>
 *     <enumeration value="skipped"/>
 *     <enumeration value="unknown"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "Status") @XmlEnum public enum Status { @XmlEnumValue("failed") FAILED("failed"), @XmlEnumValue("broken") BROKEN("broken"), @XmlEnumValue("passed") PASSED("passed"), @XmlEnumValue("skipped") SKIPPED("skipped"), @XmlEnumValue("unknown") UNKNOWN("unknown"); private final String value; Status(String v) { value = v; } public String value() { return value; } public static Status fromValue(String v) { for (Status c: Status.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy