@Component public class TreeNodeUpdater extends Object implements org.squashtest.tm.domain.library.NodeVisitor
| Constructor and Description |
|---|
TreeNodeUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
updateAutomationParams(org.squashtest.tm.domain.testcase.TestCase testCase)
Will remove script of test-case if the script's automated-project is not bound to the current test-case's
project.
|
void |
updateCustomFields(org.squashtest.tm.domain.customfield.BoundEntity entity) |
void |
updateIssues(List<org.squashtest.tm.domain.bugtracker.Issue> issues,
org.squashtest.tm.domain.project.Project project)
Will remove issue if they are bound to a bugtracker that is not the bugtracker of the current project.
|
void |
visit(org.squashtest.tm.domain.campaign.Campaign campaign) |
void |
visit(org.squashtest.tm.domain.campaign.CampaignFolder campaignFolder) |
void |
visit(org.squashtest.tm.domain.campaign.Iteration iteration) |
void |
visit(org.squashtest.tm.domain.requirement.Requirement requirement) |
void |
visit(org.squashtest.tm.domain.requirement.RequirementFolder requirementFolder) |
void |
visit(org.squashtest.tm.domain.testcase.TestCase testCase) |
void |
visit(org.squashtest.tm.domain.testcase.TestCaseFolder testCaseFolder) |
void |
visit(org.squashtest.tm.domain.campaign.TestSuite testSuite) |
public void visit(org.squashtest.tm.domain.campaign.CampaignFolder campaignFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.requirement.RequirementFolder requirementFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.testcase.TestCaseFolder testCaseFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.Campaign campaign)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.Iteration iteration)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.TestSuite testSuite)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.requirement.Requirement requirement)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.testcase.TestCase testCase)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void updateCustomFields(org.squashtest.tm.domain.customfield.BoundEntity entity)
entity - PrivateCustomFieldValueService.migrateCustomFieldValues(BoundEntity)public void updateIssues(List<org.squashtest.tm.domain.bugtracker.Issue> issues, org.squashtest.tm.domain.project.Project project)
executions - public void updateAutomationParams(org.squashtest.tm.domain.testcase.TestCase testCase)
Will remove script of test-case if the script's automated-project is not bound to the current test-case's project.
Here a test case just copied might have been copied from a different project that his own now. If that test case was referencing an automated script we must create a copy of that automated script that match the configuration of the TM project the test case was copied into.
Of course we do so iif there is a matching TA project bound to the TM project, namely if they refer to the same TA jobs.
testCase - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.