Package io.qameta.allure.model
Class StepResult
java.lang.Object
io.qameta.allure.model.StepResult
- All Implemented Interfaces:
ExecutableItem
,WithAttachments
,WithParameters
,WithStatus
,WithStatusDetails
,WithSteps
,Serializable
The model object that stores information about test steps that was run.
- Since:
- 2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets attachments.Gets description.Gets description html.getName()
Gets name.Gets parameters.getStage()
Gets stage.getStart()
Gets start.Gets status.Gets status details.getSteps()
Gets steps.getStop()
Gets stop.int
hashCode()
setAttachments
(List<Attachment> attachments) Sets attachments.setDescription
(String value) Sets description.setDescriptionHtml
(String value) Sets description html.Sets name.setParameters
(List<Parameter> parameters) Sets parameters.Sets stage.Sets start.Sets status.setStatusDetails
(StatusDetails value) Sets status details.setSteps
(List<StepResult> steps) Sets steps.Sets stop.
-
Constructor Details
-
StepResult
public StepResult()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getStatus
Gets status.- Specified by:
getStatus
in interfaceWithStatus
- Returns:
- the status
-
setStatus
Sets status.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getStatusDetails
Gets status details.- Specified by:
getStatusDetails
in interfaceWithStatusDetails
- Returns:
- the status details
-
setStatusDetails
Sets status details.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getStage
Gets stage.- Returns:
- the stage
-
setStage
Sets stage.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getDescriptionHtml
Gets description html.- Returns:
- the description html
-
setDescriptionHtml
Sets description html.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getSteps
Gets steps. -
setSteps
Sets steps.- Parameters:
steps
- the steps- Returns:
- self for method chaining
-
getAttachments
Gets attachments.- Specified by:
getAttachments
in interfaceWithAttachments
- Returns:
- the attachments
-
setAttachments
Sets attachments.- Parameters:
attachments
- the attachments- Returns:
- self for method chaining
-
getParameters
Gets parameters.- Specified by:
getParameters
in interfaceWithParameters
- Returns:
- the parameters
-
setParameters
Sets parameters.- Parameters:
parameters
- the parameters- Returns:
- self for method chaining
-
getStart
Gets start.- Returns:
- the start
-
setStart
Sets start.- Parameters:
value
- the value- Returns:
- self for method chaining
-
getStop
Gets stop.- Returns:
- the stop
-
setStop
Sets stop.- Parameters:
value
- the value- Returns:
- self for method chaining
-
equals
-
hashCode
public int hashCode()
-