Interface Run
- All Superinterfaces:
HasName
,Identifiable
- All Known Implementing Classes:
RunImpl
Represents a single run in TestRail.
- Author:
- Sergey Oplavin
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
default ObjectType
getType()
getUrl()
boolean
void
setCaseIds
(List<Integer> caseIds) Set list of case ids.void
setConfigIds
(List<Integer> configIds) void
setDescription
(String description) Set description.void
setIsCompleted
(boolean isCompleted) void
setMilestoneId
(int milestoneId) void
setPlanId
(int planId) void
setSuiteId
(int suiteId) Set suite_idvoid
Methods inherited from interface io.jenkins.plugins.railflow.testrail.client.model.HasName
getName, setName
Methods inherited from interface io.jenkins.plugins.railflow.testrail.client.model.Identifiable
getId, setId
-
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
Set description.- Parameters:
description
- description.
-
getMilestoneId
int getMilestoneId()- Returns:
- milestone id.
-
setMilestoneId
void setMilestoneId(int milestoneId) - Parameters:
milestoneId
- milestone id.
-
getCaseIds
- Returns:
- list of case ids.
-
setCaseIds
Set list of case ids.- Parameters:
caseIds
- case ids.
-
getUrl
String getUrl()- Returns:
- url of this run.
-
setUrl
- Parameters:
url
- run URL.
-
isCompleted
boolean isCompleted()- Returns:
true
if the test run was closed andfalse
otherwise.
-
setIsCompleted
void setIsCompleted(boolean isCompleted) - Parameters:
isCompleted
- if is completed.
-
getConfigIds
- Returns:
- a list of configuration IDs.
-
setConfigIds
- Parameters:
configIds
- a list of configuration IDs.
-
getPlanId
int getPlanId()- Returns:
- plan id.
-
setPlanId
void setPlanId(int planId) - Parameters:
planId
- plan id.
-
getType
- Specified by:
getType
in interfaceIdentifiable
- Returns:
- type of this object.
-