io.qameta.allure.model.StatusDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure2-model-pojo Show documentation
Show all versions of allure2-model-pojo Show documentation
Module contains Allure2 model pojo
package io.qameta.allure.model;
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;
/**
* Java class for StatusDetails complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StatusDetails">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="known" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="flaky" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="trace" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusDetails", propOrder = {
})
public class StatusDetails implements Serializable
{
private final static long serialVersionUID = 1L;
protected boolean known;
protected boolean flaky;
@XmlElement(required = true)
protected String message;
@XmlElement(required = true)
protected String trace;
/**
* Gets the value of the known property.
*
*/
public boolean isKnown() {
return known;
}
/**
* Sets the value of the known property.
*
*/
public void setKnown(boolean value) {
this.known = 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;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
/**
* Gets the value of the trace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrace() {
return trace;
}
/**
* Sets the value of the trace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTrace(String value) {
this.trace = value;
}
public StatusDetails withKnown(boolean value) {
setKnown(value);
return this;
}
public StatusDetails withFlaky(boolean value) {
setFlaky(value);
return this;
}
public StatusDetails withMessage(String value) {
setMessage(value);
return this;
}
public StatusDetails withTrace(String value) {
setTrace(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy