Package org.qubership.atp.ram.services
Class TestPlansService
java.lang.Object
org.qubership.atp.ram.services.CrudService<TestPlan>
org.qubership.atp.ram.services.TestPlansService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.findByTestPlanUuid(UUID testPlanUuid) Returns TestPlan by uuid.findByUuidNameOrCreateNew(TestPlan testPlan, Project project) Deprecated.findOrCreateTestPlanByProjectUuidAndTestPlanName(UUID projectUuid, String testPlanName) Deprecated.findOrCreateTestPlanByUuid(UUID projectId, UUID testPlanId, String testPlanName) Deprecated.findTestPlanByProjectUuidAndTestPlanName(UUID projectUuid, String testPlanName) Deprecated.getRecipients(UUID testPlanUuid) getTestPlanForNavigationPath(UUID testPlanUuid) getTestPlanName(UUID testPlanUuid) getTestPlansByProjectUuid(UUID projectUuid) Returns list of TestPlans by Project.Save TestPlan.voidsaveRecipients(UUID testPlanUuid, MailRecipients recipients) Save recipients for TestPlane.search(TestPlansSearchRequest request) Search test plans.Methods inherited from class org.qubership.atp.ram.services.CrudService
get, getAll, saveAll
-
Constructor Details
-
TestPlansService
public TestPlansService()
-
-
Method Details
-
repository
- Specified by:
repositoryin classCrudService<TestPlan>
-
getTestPlansByProjectUuid
Returns list of TestPlans by Project. -
save
Save TestPlan.- Overrides:
savein classCrudService<TestPlan>
-
create
Deprecated.Create new test plan. Project ID cannot be null- Parameters:
testPlan- for creating- Returns:
- creating new test plan
-
findTestPlanByProjectUuidAndTestPlanName
@Deprecated public TestPlan findTestPlanByProjectUuidAndTestPlanName(UUID projectUuid, String testPlanName) Deprecated.Returns testPlan by ProjectUuid and TestPlan's name. -
findOrCreateTestPlanByProjectUuidAndTestPlanName
@Deprecated public TestPlan findOrCreateTestPlanByProjectUuidAndTestPlanName(UUID projectUuid, String testPlanName) Deprecated.Returns existing TestPlan for provided Project or create new. -
findOrCreateTestPlanByUuid
@Deprecated public TestPlan findOrCreateTestPlanByUuid(UUID projectId, UUID testPlanId, String testPlanName) Deprecated.Return existed test plan or create new.- Parameters:
projectId- for set project UUIDtestPlanId- for searchtestPlanName- for set test plan name- Returns:
- existed or new
TestPlan
-
findByTestPlanUuid
Returns TestPlan by uuid. -
getRecipients
-
saveRecipients
Save recipients for TestPlane.- Parameters:
testPlanUuid-UUIDofTestPlanrecipients-MailRecipientswhich has list of email addresses.
-
getTestPlanName
-
getProjectIdByTestPlanId
-
findByUuidNameOrCreateNew
Deprecated.Find existed test plan by UUID/name or create new.- Parameters:
testPlan- request for search test planproject- for search test plan- Returns:
- existed or created
TestPlan
-
search
Search test plans.
-