org.squashtest.tm.service.internal.library
Class TreeNodeUpdater
java.lang.Object
org.squashtest.tm.service.internal.library.TreeNodeUpdater
- All Implemented Interfaces:
- org.squashtest.tm.domain.library.NodeVisitor
@Component
public class TreeNodeUpdater
- extends Object
- implements org.squashtest.tm.domain.library.NodeVisitor
Will update a node regarding it's project settings. The updated attributes will be :
- Author:
- mpagnon
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNodeUpdater
public TreeNodeUpdater()
visit
public void visit(org.squashtest.tm.domain.campaign.CampaignFolder campaignFolder)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.requirement.RequirementFolder requirementFolder)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.testcase.TestCaseFolder testCaseFolder)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.campaign.Campaign campaign)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.campaign.Iteration iteration)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.campaign.TestSuite testSuite)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.requirement.Requirement requirement)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
visit
public void visit(org.squashtest.tm.domain.testcase.TestCase testCase)
- Specified by:
visit in interface org.squashtest.tm.domain.library.NodeVisitor
updateCustomFields
public void updateCustomFields(org.squashtest.tm.domain.customfield.BoundEntity entity)
- Parameters:
entity - - See Also:
PrivateCustomFieldValueService.migrateCustomFieldValues(BoundEntity)
updateIssues
public 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.
- Parameters:
executions -
updateAutomationParams
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.
- Parameters:
testCase -
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.