public class TRPlanEntry extends Object
| Constructor and Description |
|---|
TRPlanEntry()
No args constructor for use in serialization
|
TRPlanEntry(String id,
Long suiteId,
String name,
String description,
Long assignedtoId,
Boolean includeAll,
List<Long> caseIds,
List<Long> configIds,
List<TRRun> runs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Long |
getAssignedtoId()
The ID of the user the test run(s) should be assigned to
|
List<Long> |
getCaseIds()
An array of case IDs for the custom case selection
|
List<Long> |
getConfigIds()
An array of configuration IDs used for the test runs of the test plan entry (requires TestRail 3.1 or later)
|
String |
getDescription()
The description of the test run(s) (requires TestRail 5.2 or later)
|
String |
getId()
UUID
|
Boolean |
getIncludeAll()
True for including all test cases of the test suite and false for a custom case selection (default: true)
|
String |
getName()
The name of the test run(s)
|
List<TRRun> |
getRuns()
An array of test runs with configurations, please see the example below for details (requires TestRail 3.1 or later)
|
Long |
getSuiteId()
The ID of the test suite for the test run(s) (required)
(Required)
|
int |
hashCode() |
void |
setAssignedtoId(Long assignedtoId)
The ID of the user the test run(s) should be assigned to
|
void |
setCaseIds(List<Long> caseIds)
An array of case IDs for the custom case selection
|
void |
setConfigIds(List<Long> configIds)
An array of configuration IDs used for the test runs of the test plan entry (requires TestRail 3.1 or later)
|
void |
setDescription(String description)
The description of the test run(s) (requires TestRail 5.2 or later)
|
void |
setId(String id)
UUID
|
void |
setIncludeAll(Boolean includeAll)
True for including all test cases of the test suite and false for a custom case selection (default: true)
|
void |
setName(String name)
The name of the test run(s)
|
void |
setRuns(List<TRRun> runs)
An array of test runs with configurations, please see the example below for details (requires TestRail 3.1 or later)
|
void |
setSuiteId(Long suiteId)
The ID of the test suite for the test run(s) (required)
(Required)
|
String |
toString() |
TRPlanEntry |
withAssignedtoId(Long assignedtoId) |
TRPlanEntry |
withCaseIds(List<Long> caseIds) |
TRPlanEntry |
withConfigIds(List<Long> configIds) |
TRPlanEntry |
withDescription(String description) |
TRPlanEntry |
withId(String id) |
TRPlanEntry |
withIncludeAll(Boolean includeAll) |
TRPlanEntry |
withName(String name) |
TRPlanEntry |
withRuns(List<TRRun> runs) |
TRPlanEntry |
withSuiteId(Long suiteId) |
public String getId()
public void setId(String id)
public TRPlanEntry withId(String id)
public Long getSuiteId()
public void setSuiteId(Long suiteId)
public TRPlanEntry withSuiteId(Long suiteId)
public String getName()
public void setName(String name)
public TRPlanEntry withName(String name)
public String getDescription()
public void setDescription(String description)
public TRPlanEntry withDescription(String description)
public Long getAssignedtoId()
public void setAssignedtoId(Long assignedtoId)
public TRPlanEntry withAssignedtoId(Long assignedtoId)
public Boolean getIncludeAll()
public void setIncludeAll(Boolean includeAll)
public TRPlanEntry withIncludeAll(Boolean includeAll)
public void setCaseIds(List<Long> caseIds)
public TRPlanEntry withCaseIds(List<Long> caseIds)
public List<Long> getConfigIds()
public void setConfigIds(List<Long> configIds)
public TRPlanEntry withConfigIds(List<Long> configIds)
public List<TRRun> getRuns()
public void setRuns(List<TRRun> runs)
public TRPlanEntry withRuns(List<TRRun> runs)
Copyright © 2019. All rights reserved.