org.allurefw.report.entity.Failure Maven / Gradle / Ivy
The newest version!
package org.allurefw.report.entity;
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 Failure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Failure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <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 = "Failure", propOrder = {
})
public class Failure implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String message;
@XmlElement(required = true)
protected String trace;
/**
* 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 Failure withMessage(String value) {
setMessage(value);
return this;
}
public Failure withTrace(String value) {
setTrace(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy