All Superinterfaces:
HasName, Identifiable
All Known Implementing Classes:
RunImpl

public interface Run extends HasName
Represents a single run in TestRail.
Author:
Sergey Oplavin
  • Method Details

    • getSuiteId

      int getSuiteId()
      Returns:
      suite_id.
    • setSuiteId

      void setSuiteId(int suiteId)
      Set suite_id
      Parameters:
      suiteId - value.
    • getDescription

      String getDescription()
      Returns:
      description.
    • setDescription

      void setDescription(String description)
      Set description.
      Parameters:
      description - description.
    • getMilestoneId

      int getMilestoneId()
      Returns:
      milestone id.
    • setMilestoneId

      void setMilestoneId(int milestoneId)
      Parameters:
      milestoneId - milestone id.
    • getCaseIds

      List<Integer> getCaseIds()
      Returns:
      list of case ids.
    • setCaseIds

      void setCaseIds(List<Integer> caseIds)
      Set list of case ids.
      Parameters:
      caseIds - case ids.
    • getUrl

      String getUrl()
      Returns:
      url of this run.
    • setUrl

      void setUrl(String url)
      Parameters:
      url - run URL.
    • isCompleted

      boolean isCompleted()
      Returns:
      true if the test run was closed and false otherwise.
    • setIsCompleted

      void setIsCompleted(boolean isCompleted)
      Parameters:
      isCompleted - if is completed.
    • getConfigIds

      List<Integer> getConfigIds()
      Returns:
      a list of configuration IDs.
    • setConfigIds

      void setConfigIds(List<Integer> configIds)
      Parameters:
      configIds - a list of configuration IDs.
    • getPlanId

      int getPlanId()
      Returns:
      plan id.
    • setPlanId

      void setPlanId(int planId)
      Parameters:
      planId - plan id.
    • getType

      default ObjectType getType()
      Specified by:
      getType in interface Identifiable
      Returns:
      type of this object.