io.qameta.allure.model.FixtureResult 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 java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FixtureResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FixtureResult">
* <complexContent>
* <extension base="{urn:model.allure.qameta.io}ExecutableItem">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FixtureResult")
public class FixtureResult
extends ExecutableItem
implements Serializable
{
private final static long serialVersionUID = 1L;
@Override
public FixtureResult withName(String value) {
setName(value);
return this;
}
@Override
public FixtureResult withStatus(Status value) {
setStatus(value);
return this;
}
@Override
public FixtureResult withStatusDetails(StatusDetails value) {
setStatusDetails(value);
return this;
}
@Override
public FixtureResult withStage(Stage value) {
setStage(value);
return this;
}
@Override
public FixtureResult withDescription(String value) {
setDescription(value);
return this;
}
@Override
public FixtureResult withDescriptionHtml(String value) {
setDescriptionHtml(value);
return this;
}
@Override
public FixtureResult withStart(Long value) {
setStart(value);
return this;
}
@Override
public FixtureResult withStop(Long value) {
setStop(value);
return this;
}
@Override
public FixtureResult withSteps(StepResult... values) {
if (values!= null) {
for (StepResult value: values) {
getSteps().add(value);
}
}
return this;
}
@Override
public FixtureResult withSteps(Collection values) {
if (values!= null) {
getSteps().addAll(values);
}
return this;
}
@Override
public FixtureResult withSteps(List steps) {
setSteps(steps);
return this;
}
@Override
public FixtureResult withAttachments(Attachment... values) {
if (values!= null) {
for (Attachment value: values) {
getAttachments().add(value);
}
}
return this;
}
@Override
public FixtureResult withAttachments(Collection values) {
if (values!= null) {
getAttachments().addAll(values);
}
return this;
}
@Override
public FixtureResult withAttachments(List attachments) {
setAttachments(attachments);
return this;
}
@Override
public FixtureResult withParameters(Parameter... values) {
if (values!= null) {
for (Parameter value: values) {
getParameters().add(value);
}
}
return this;
}
@Override
public FixtureResult withParameters(Collection values) {
if (values!= null) {
getParameters().addAll(values);
}
return this;
}
@Override
public FixtureResult withParameters(List parameters) {
setParameters(parameters);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy