Interface StatusService
public interface StatusService
Responsible for all management of
StatusModel
within Zephyr Scale.-
Method Summary
Modifier and TypeMethodDescriptiongetTestCaseStatusModelById
(String userKey, Long statusId) Retrieves the TestCaseStatus as aTestCaseStatusModel
with the given statusId.getTestCycleStatusModelById
(String userKey, Long statusId) Retrieves the TestCycleStatus as aTestCycleStatusModel
with the given statusId.getTestExecutionStatusModelById
(String userKey, Long statusId) Retrieves the TestExecutionStatus as aTestExecutionStatusModel
with the given statusId.
-
Method Details
-
getTestCaseStatusModelById
Retrieves the TestCaseStatus as aTestCaseStatusModel
with the given statusId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.statusId
- the ID of the Test Case.- Returns:
- a
ServiceResult
containing aTestCaseStatusModel
with the relevant fields of the TestCaseStatus. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTestCycleStatusModelById
Retrieves the TestCycleStatus as aTestCycleStatusModel
with the given statusId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.statusId
- the ID of the Test Cycle.- Returns:
- a
ServiceResult
containing aTestCycleStatusModel
with the relevant fields of the TestCycleStatus. The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTestExecutionStatusModelById
ServiceResult<TestExecutionStatusModel> getTestExecutionStatusModelById(String userKey, Long statusId) Retrieves the TestExecutionStatus as aTestExecutionStatusModel
with the given statusId.- Parameters:
userKey
- an identifier that uniquely identifies a user which is performing the action.statusId
- the ID of the Test Execution.- Returns:
- a
ServiceResult
containing aTestExecutionStatusModel
with the relevant fields of the TestExecutionStatus The result will also contains aValidationResult
that will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-