Class FixtureResult

java.lang.Object
io.qameta.allure.model.FixtureResult
All Implemented Interfaces:
ExecutableItem, WithAttachments, WithParameters, WithStatus, WithStatusDetails, WithSteps, Serializable

public class FixtureResult extends Object implements Serializable, ExecutableItem
The model object that stores information about executed test fixtures (set up and tear down methods). In order to link test fixture to test result TestResultContainer is used.
Since:
2.0
See Also:
  • Constructor Details

    • FixtureResult

      public FixtureResult()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public FixtureResult setName(String value)
      Sets name.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getStatus

      public Status getStatus()
      Gets status.
      Specified by:
      getStatus in interface WithStatus
      Returns:
      the status
    • setStatus

      public FixtureResult setStatus(Status value)
      Sets status.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getStatusDetails

      public StatusDetails getStatusDetails()
      Gets status details.
      Specified by:
      getStatusDetails in interface WithStatusDetails
      Returns:
      the status details
    • setStatusDetails

      public FixtureResult setStatusDetails(StatusDetails value)
      Sets status details.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getStage

      public Stage getStage()
      Gets stage.
      Returns:
      the stage
    • setStage

      public FixtureResult setStage(Stage value)
      Sets stage.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public FixtureResult setDescription(String value)
      Sets description.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getDescriptionHtml

      public String getDescriptionHtml()
      Gets description html.
      Returns:
      the description html
    • setDescriptionHtml

      public FixtureResult setDescriptionHtml(String value)
      Sets description html.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getSteps

      public List<StepResult> getSteps()
      Gets steps.
      Specified by:
      getSteps in interface WithSteps
      Returns:
      the steps
    • setSteps

      public FixtureResult setSteps(List<StepResult> steps)
      Sets steps.
      Parameters:
      steps - the steps
      Returns:
      self for method chaining
    • getAttachments

      public List<Attachment> getAttachments()
      Gets attachments.
      Specified by:
      getAttachments in interface WithAttachments
      Returns:
      the attachments
    • setAttachments

      public FixtureResult setAttachments(List<Attachment> attachments)
      Sets attachments.
      Parameters:
      attachments - the attachments
      Returns:
      self for method chaining
    • getParameters

      public List<Parameter> getParameters()
      Gets parameters.
      Specified by:
      getParameters in interface WithParameters
      Returns:
      the parameters
    • setParameters

      public FixtureResult setParameters(List<Parameter> parameters)
      Sets parameters.
      Parameters:
      parameters - the parameters
      Returns:
      self for method chaining
    • getStart

      public Long getStart()
      Gets start.
      Returns:
      the start
    • setStart

      public FixtureResult setStart(Long value)
      Sets start.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getStop

      public Long getStop()
      Gets stop.
      Returns:
      the stop
    • setStop

      public FixtureResult setStop(Long value)
      Sets stop.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object