Class StepResult

java.lang.Object
ru.testit.models.StepResult
All Implemented Interfaces:
Serializable, ResultWithAttachments, ResultWithSteps

public class StepResult extends Object implements ResultWithSteps, ResultWithAttachments, Serializable
Model describes step.
See Also:
  • Constructor Details

    • StepResult

      public StepResult()
  • Method Details

    • getName

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

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

      public ItemStatus getItemStatus()
      Gets item status.
      Returns:
      the item status
    • setItemStatus

      public StepResult setItemStatus(ItemStatus itemStatus)
      Sets item status.
      Parameters:
      itemStatus - the value
      Returns:
      self for method chaining
    • getItemStage

      public ItemStage getItemStage()
      Gets item stage.
      Returns:
      the item stage
    • setItemStage

      public StepResult setItemStage(ItemStage itemStage)
      Sets item stage.
      Parameters:
      itemStage - the value
      Returns:
      self for method chaining
    • getDescription

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

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

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

      public StepResult setAttachments(List<String> attachments)
      Sets attachments.
      Parameters:
      attachments - the attachments
      Returns:
      self for method chaining
    • getSteps

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

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

      public List<LinkItem> getLinkItems()
      Gets links.
      Returns:
      the links
    • setLinkItems

      public StepResult setLinkItems(List<LinkItem> linkItems)
      Sets links.
      Parameters:
      linkItems - the steps
      Returns:
      self for method chaining
    • getStart

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

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

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

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

      public Throwable getThrowable()
      Gets throwable.
      Returns:
      the throwable
    • setThrowable

      public StepResult setThrowable(Throwable throwable)
      Sets throwable.
      Parameters:
      throwable - the value
      Returns:
      self for method chaining
    • getParameters

      public Map<String,String> getParameters()
      Gets parameters.
      Returns:
      the parameters
    • setParameters

      public StepResult setParameters(Map<String,String> parameters)
      Sets parameters.
      Parameters:
      parameters - the value
      Returns:
      self for method chaining
    • toString

      public String toString()
      Overrides:
      toString in class Object