ru.yandex.qatools.allure.data.AllureStep Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
import ru.yandex.qatools.allure.model.Status;
/**
* Java class for allure-step complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allure-step">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="time" type="{urn:data.allure.qatools.yandex.ru}time"/>
* <element name="summary" type="{urn:data.allure.qatools.yandex.ru}summary"/>
* <element name="attachments" type="{urn:data.allure.qatools.yandex.ru}attachments" minOccurs="0"/>
* <element name="steps" type="{urn:data.allure.qatools.yandex.ru}allure-steps" minOccurs="0"/>
* <element name="status" type="{urn:data.allure.qatools.yandex.ru}status"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allure-step", propOrder = {
})
public class AllureStep {
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected String title;
@XmlElement(required = true)
protected Time time;
@XmlElement(required = true)
protected Summary summary;
@XmlElement(required = true)
protected Status status;
@XmlElementWrapper(name = "attachments")
@XmlElement(name = "attachment")
protected List attachments;
@XmlElementWrapper(name = "steps")
@XmlElement(name = "step")
protected List steps;
/**
* 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 title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = 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 summary property.
*
* @return
* possible object is
* {@link Summary }
*
*/
public Summary getSummary() {
return summary;
}
/**
* Sets the value of the summary property.
*
* @param value
* allowed object is
* {@link Summary }
*
*/
public void setSummary(Summary value) {
this.summary = 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;
}
public List getAttachments() {
if (attachments == null) {
attachments = new ArrayList();
}
return attachments;
}
public void setAttachments(List attachments) {
this.attachments = attachments;
}
public List getSteps() {
if (steps == null) {
steps = new ArrayList();
}
return steps;
}
public void setSteps(List steps) {
this.steps = steps;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy