io.qameta.allure.model.StepResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-model Show documentation
Show all versions of allure-model Show documentation
Module allure-model of Allure Framework.
/*
* Copyright 2019 Qameta Software OÜ
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.qameta.allure.model;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* POJO that stores step information.
*/
@SuppressWarnings("deprecation")
public class StepResult extends ExecutableItem implements Serializable {
private static final long serialVersionUID = 1L;
@Override
public StepResult setName(final String value) {
super.setName(value);
return this;
}
@Override
public StepResult setStatus(final Status value) {
super.setStatus(value);
return this;
}
@Override
public StepResult setStatusDetails(final StatusDetails value) {
super.setStatusDetails(value);
return this;
}
@Override
public StepResult setStage(final Stage value) {
super.setStage(value);
return this;
}
@Override
public StepResult setDescription(final String value) {
super.setDescription(value);
return this;
}
@Override
public StepResult setDescriptionHtml(final String value) {
super.setDescriptionHtml(value);
return this;
}
@Override
public StepResult setStart(final Long value) {
super.setStart(value);
return this;
}
@Override
public StepResult setStop(final Long value) {
super.setStop(value);
return this;
}
@Override
@JsonProperty
public StepResult setSteps(final List steps) {
super.setSteps(steps);
return this;
}
/**
* @deprecated use {@link #setSteps(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setSteps(final StepResult... values) {
super.setSteps(values);
return this;
}
/**
* @deprecated use {@link #setSteps(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setSteps(final Collection values) {
super.setSteps(values);
return this;
}
@Override
@JsonProperty
public StepResult setAttachments(final List attachments) {
super.setAttachments(attachments);
return this;
}
/**
* @deprecated use {@link #setAttachments(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setAttachments(final Attachment... values) {
super.setAttachments(values);
return this;
}
/**
* @deprecated use {@link #setAttachments(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setAttachments(final Collection values) {
super.setAttachments(values);
return this;
}
@Override
@JsonProperty
public StepResult setParameters(final List parameters) {
super.setParameters(parameters);
return this;
}
/**
* @deprecated use {@link #setParameters(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setParameters(final Parameter... values) {
super.setParameters(values);
return this;
}
/**
* @deprecated use {@link #setParameters(List)} instead.
*/
@Deprecated
@Override
@JsonIgnore
public StepResult setParameters(final Collection values) {
super.setParameters(values);
return this;
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withName(final String value) {
return setName(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withStatus(final Status value) {
return setStatus(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withStatusDetails(final StatusDetails value) {
return setStatusDetails(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withStage(final Stage value) {
return setStage(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withDescription(final String value) {
return setDescription(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withDescriptionHtml(final String value) {
return setDescriptionHtml(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withStart(final Long value) {
return setStart(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withStop(final Long value) {
return setStop(value);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withSteps(final StepResult... values) {
return setSteps(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withSteps(final Collection values) {
return setSteps(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withSteps(final List steps) {
return setSteps(steps);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withAttachments(final Attachment... values) {
return setAttachments(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withAttachments(final Collection values) {
return setAttachments(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withAttachments(final List attachments) {
return setAttachments(attachments);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withParameters(final Parameter... values) {
return setParameters(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withParameters(final Collection values) {
return setParameters(values);
}
/**
* @deprecated use set method. Scheduled to removal in 3.0 release.
*/
@Deprecated
@Override
public StepResult withParameters(final List parameters) {
return setParameters(parameters);
}
}