io.qameta.allure.history.HistoryItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-generator Show documentation
Show all versions of allure-generator Show documentation
Module allure-generator of Allure Framework.
package io.qameta.allure.history;
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.XmlType;
import io.qameta.allure.entity.Status;
import io.qameta.allure.entity.Time;
/**
* Java class for HistoryItem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HistoryItem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reportUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="status" type="{urn:allure.qameta.io}Status"/>
* <element name="statusDetails" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="time" type="{urn:allure.qameta.io}Time"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HistoryItem", propOrder = {
"uid",
"reportUrl",
"status",
"statusDetails",
"time"
})
public class HistoryItem implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String uid;
@XmlElement(required = true)
protected String reportUrl;
@XmlElement(required = true)
protected Status status;
@XmlElement(required = true)
protected String statusDetails;
@XmlElement(required = true)
protected Time time;
/**
* 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 reportUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReportUrl() {
return reportUrl;
}
/**
* Sets the value of the reportUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReportUrl(String value) {
this.reportUrl = 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 statusDetails property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatusDetails() {
return statusDetails;
}
/**
* Sets the value of the statusDetails property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatusDetails(String value) {
this.statusDetails = 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;
}
public HistoryItem withUid(String value) {
setUid(value);
return this;
}
public HistoryItem withReportUrl(String value) {
setReportUrl(value);
return this;
}
public HistoryItem withStatus(Status value) {
setStatus(value);
return this;
}
public HistoryItem withStatusDetails(String value) {
setStatusDetails(value);
return this;
}
public HistoryItem withTime(Time value) {
setTime(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy