Class RunImpl
java.lang.Object
io.jenkins.plugins.railflow.testreport.model.AbstractModelBase
io.jenkins.plugins.railflow.testreport.model.RunImpl
- All Implemented Interfaces:
HasName
,Identifiable
,Run
Implementation of
Run
.- Author:
- Ayman BEN AMOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
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 class io.jenkins.plugins.railflow.testreport.model.AbstractModelBase
getId, getName, setId, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Constructor Details
-
RunImpl
public RunImpl()
-
-
Method Details
-
getCaseIds
- Specified by:
getCaseIds
in interfaceRun
- Returns:
- list of case ids.
-
setCaseIds
Description copied from interface:Run
Set list of case ids.- Specified by:
setCaseIds
in interfaceRun
- Parameters:
caseIds
- case ids.
-
getDescription
- Specified by:
getDescription
in interfaceRun
- Returns:
- description.
-
setDescription
Description copied from interface:Run
Set description.- Specified by:
setDescription
in interfaceRun
- Parameters:
description
- description.
-
getMilestoneId
public int getMilestoneId()- Specified by:
getMilestoneId
in interfaceRun
- Returns:
- milestone id.
-
setMilestoneId
public void setMilestoneId(int milestoneId) - Specified by:
setMilestoneId
in interfaceRun
- Parameters:
milestoneId
- milestone id.
-
getSuiteId
public int getSuiteId()- Specified by:
getSuiteId
in interfaceRun
- Returns:
- suite_id.
-
setSuiteId
public void setSuiteId(int suiteId) Description copied from interface:Run
Set suite_id- Specified by:
setSuiteId
in interfaceRun
- Parameters:
suiteId
- value.
-
getUrl
-
setUrl
-
isCompleted
public boolean isCompleted()- Specified by:
isCompleted
in interfaceRun
- Returns:
true
if the test run was closed andfalse
otherwise.
-
setIsCompleted
public void setIsCompleted(boolean isCompleted) - Specified by:
setIsCompleted
in interfaceRun
- Parameters:
isCompleted
- if is completed.
-
getConfigIds
- Specified by:
getConfigIds
in interfaceRun
- Returns:
- a list of configuration IDs.
-
setConfigIds
- Specified by:
setConfigIds
in interfaceRun
- Parameters:
configIds
- a list of configuration IDs.
-
getPlanId
public int getPlanId() -
setPlanId
public void setPlanId(int planId)
-