All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qameta.allure.model.StepResult Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version

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 StepResult complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="StepResult">
 *   <complexContent>
 *     <extension base="{urn:model.allure.qameta.io}ExecutableItem">
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StepResult") public class StepResult extends ExecutableItem implements Serializable { private final static long serialVersionUID = 1L; @Override public StepResult withName(String value) { setName(value); return this; } @Override public StepResult withStatus(Status value) { setStatus(value); return this; } @Override public StepResult withStatusDetails(StatusDetails value) { setStatusDetails(value); return this; } @Override public StepResult withStage(Stage value) { setStage(value); return this; } @Override public StepResult withDescription(String value) { setDescription(value); return this; } @Override public StepResult withDescriptionHtml(String value) { setDescriptionHtml(value); return this; } @Override public StepResult withStart(Long value) { setStart(value); return this; } @Override public StepResult withStop(Long value) { setStop(value); return this; } @Override public StepResult withSteps(StepResult... values) { if (values!= null) { for (StepResult value: values) { getSteps().add(value); } } return this; } @Override public StepResult withSteps(Collection values) { if (values!= null) { getSteps().addAll(values); } return this; } @Override public StepResult withSteps(List steps) { setSteps(steps); return this; } @Override public StepResult withAttachments(Attachment... values) { if (values!= null) { for (Attachment value: values) { getAttachments().add(value); } } return this; } @Override public StepResult withAttachments(Collection values) { if (values!= null) { getAttachments().addAll(values); } return this; } @Override public StepResult withAttachments(List attachments) { setAttachments(attachments); return this; } @Override public StepResult withParameters(Parameter... values) { if (values!= null) { for (Parameter value: values) { getParameters().add(value); } } return this; } @Override public StepResult withParameters(Collection values) { if (values!= null) { getParameters().addAll(values); } return this; } @Override public StepResult withParameters(List parameters) { setParameters(parameters); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy