Interface StatusService
public interface StatusService
Responsible for all management of
StatusModel within Zephyr.-
Method Summary
Modifier and TypeMethodDescriptiongetTestCaseStatusModelById(String userKey, Long statusId) Retrieves the TestCaseStatus as aTestCaseStatusModelwith the given statusId.getTestCycleStatusModelById(String userKey, Long statusId) Retrieves the TestCycleStatus as aTestCycleStatusModelwith the given statusId.getTestExecutionStatusModelById(String userKey, Long statusId) Retrieves the TestExecutionStatus as aTestExecutionStatusModelwith the given statusId.
-
Method Details
-
getTestCaseStatusModelById
Retrieves the TestCaseStatus as aTestCaseStatusModelwith 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
ServiceResultcontaining aTestCaseStatusModelwith the relevant fields of the TestCaseStatus. The result will also contains aValidationResultthat will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-
getTestCycleStatusModelById
Retrieves the TestCycleStatus as aTestCycleStatusModelwith 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
ServiceResultcontaining aTestCycleStatusModelwith the relevant fields of the TestCycleStatus. The result will also contains aValidationResultthat 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 aTestExecutionStatusModelwith 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
ServiceResultcontaining aTestExecutionStatusModelwith the relevant fields of the TestExecutionStatus The result will also contains aValidationResultthat will contain any validation messages that may have been generated when performing the operation. - Since:
- 6.8.0
-