public abstract class ExecutableItem extends Object implements Serializable, WithAttachments, WithParameters, WithStatusDetails, WithSteps
Java class for ExecutableItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExecutableItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="status" type="{urn:model.allure.qameta.io}Status"/>
<element name="statusDetails" type="{urn:model.allure.qameta.io}StatusDetails"/>
<element name="stage" type="{urn:model.allure.qameta.io}Stage"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="descriptionHtml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="steps" type="{urn:model.allure.qameta.io}Steps" minOccurs="0"/>
<element name="attachments" type="{urn:model.allure.qameta.io}Attachments" minOccurs="0"/>
<element name="parameters" type="{urn:model.allure.qameta.io}Parameters" minOccurs="0"/>
</sequence>
<attribute name="start" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="stop" type="{http://www.w3.org/2001/XMLSchema}long" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachments |
protected String |
description |
protected String |
descriptionHtml |
protected String |
name |
protected List<Parameter> |
parameters |
protected Stage |
stage |
protected Long |
start |
protected Status |
status |
protected StatusDetails |
statusDetails |
protected List<StepResult> |
steps |
protected Long |
stop |
| Constructor and Description |
|---|
ExecutableItem() |
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
getAttachments() |
String |
getDescription()
Gets the value of the description property.
|
String |
getDescriptionHtml()
Gets the value of the descriptionHtml property.
|
String |
getName()
Gets the value of the name property.
|
List<Parameter> |
getParameters() |
Stage |
getStage()
Gets the value of the stage property.
|
Long |
getStart()
Gets the value of the start property.
|
Status |
getStatus()
Gets the value of the status property.
|
StatusDetails |
getStatusDetails()
Gets the value of the statusDetails property.
|
List<StepResult> |
getSteps() |
Long |
getStop()
Gets the value of the stop property.
|
void |
setAttachments(List<Attachment> attachments) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDescriptionHtml(String value)
Sets the value of the descriptionHtml property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setParameters(List<Parameter> parameters) |
void |
setStage(Stage value)
Sets the value of the stage property.
|
void |
setStart(Long value)
Sets the value of the start property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setStatusDetails(StatusDetails value)
Sets the value of the statusDetails property.
|
void |
setSteps(List<StepResult> steps) |
void |
setStop(Long value)
Sets the value of the stop property.
|
ExecutableItem |
withAttachments(Attachment... values) |
ExecutableItem |
withAttachments(Collection<Attachment> values) |
ExecutableItem |
withAttachments(List<Attachment> attachments) |
ExecutableItem |
withDescription(String value) |
ExecutableItem |
withDescriptionHtml(String value) |
ExecutableItem |
withName(String value) |
ExecutableItem |
withParameters(Collection<Parameter> values) |
ExecutableItem |
withParameters(List<Parameter> parameters) |
ExecutableItem |
withParameters(Parameter... values) |
ExecutableItem |
withStage(Stage value) |
ExecutableItem |
withStart(Long value) |
ExecutableItem |
withStatus(Status value) |
ExecutableItem |
withStatusDetails(StatusDetails value) |
ExecutableItem |
withSteps(Collection<StepResult> values) |
ExecutableItem |
withSteps(List<StepResult> steps) |
ExecutableItem |
withSteps(StepResult... values) |
ExecutableItem |
withStop(Long value) |
protected String name
protected Status status
protected StatusDetails statusDetails
protected Stage stage
protected String description
protected String descriptionHtml
protected List<StepResult> steps
protected List<Attachment> attachments
protected Long start
protected Long stop
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Status getStatus()
getStatus in interface WithStatusStatuspublic void setStatus(Status value)
value - allowed object is
Statuspublic StatusDetails getStatusDetails()
getStatusDetails in interface WithStatusDetailsStatusDetailspublic void setStatusDetails(StatusDetails value)
value - allowed object is
StatusDetailspublic Stage getStage()
Stagepublic void setStage(Stage value)
value - allowed object is
Stagepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDescriptionHtml()
Stringpublic void setDescriptionHtml(String value)
value - allowed object is
Stringpublic Long getStart()
Longpublic void setStart(Long value)
value - allowed object is
Longpublic void setStop(Long value)
value - allowed object is
Longpublic List<StepResult> getSteps()
public void setSteps(List<StepResult> steps)
public List<Attachment> getAttachments()
getAttachments in interface WithAttachmentspublic void setAttachments(List<Attachment> attachments)
public List<Parameter> getParameters()
getParameters in interface WithParameterspublic ExecutableItem withName(String value)
public ExecutableItem withStatus(Status value)
public ExecutableItem withStatusDetails(StatusDetails value)
public ExecutableItem withStage(Stage value)
public ExecutableItem withDescription(String value)
public ExecutableItem withDescriptionHtml(String value)
public ExecutableItem withStart(Long value)
public ExecutableItem withStop(Long value)
public ExecutableItem withSteps(StepResult... values)
public ExecutableItem withSteps(Collection<StepResult> values)
public ExecutableItem withSteps(List<StepResult> steps)
public ExecutableItem withAttachments(Attachment... values)
public ExecutableItem withAttachments(Collection<Attachment> values)
public ExecutableItem withAttachments(List<Attachment> attachments)
public ExecutableItem withParameters(Parameter... values)
public ExecutableItem withParameters(Collection<Parameter> values)
public ExecutableItem withParameters(List<Parameter> parameters)
Copyright © 2017 qameta.io. All rights reserved.