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

io.qameta.allure.tree.TestCaseNode Maven / Gradle / Ivy

There is a newer version: 2.30.0
Show newest version

package io.qameta.allure.tree;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import io.qameta.allure.entity.Status;
import io.qameta.allure.entity.Time;
import io.qameta.allure.entity.WithTime;


/**
 * 

Java class for TestCaseNode complex type. * *

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

 * <complexType name="TestCaseNode">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="time" type="{urn:entity.allure.qameta.io}Time"/>
 *         <element name="status" type="{urn:entity.allure.qameta.io}Status"/>
 *         <element name="flaky" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TestCaseNode", propOrder = { }) public class TestCaseNode implements Serializable, WithTime, TreeNode { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String uid; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected Time time; @XmlElement(required = true) @XmlSchemaType(name = "string") protected Status status; protected boolean flaky; /** * Gets the value of the uid property. * * @return * possible object is * {@link String } * */ public String getUid() { return uid; } /** * Sets the value of the uid property. * * @param value * allowed object is * {@link String } * */ public void setUid(String value) { this.uid = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link Time } * */ public Time getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link Time } * */ public void setTime(Time value) { this.time = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link Status } * */ public Status getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Status } * */ public void setStatus(Status value) { this.status = value; } /** * Gets the value of the flaky property. * */ public boolean isFlaky() { return flaky; } /** * Sets the value of the flaky property. * */ public void setFlaky(boolean value) { this.flaky = value; } public TestCaseNode withUid(String value) { setUid(value); return this; } public TestCaseNode withName(String value) { setName(value); return this; } public TestCaseNode withTime(Time value) { setTime(value); return this; } public TestCaseNode withStatus(Status value) { setStatus(value); return this; } public TestCaseNode withFlaky(boolean value) { setFlaky(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy