@Component @Scope(value="prototype") public class NextLayerFeeder extends Object implements org.squashtest.tm.domain.library.NodeVisitor
| Constructor and Description |
|---|
NextLayerFeeder() |
| Modifier and Type | Method and Description |
|---|---|
void |
feedNextLayer(org.squashtest.tm.domain.library.TreeNode destination,
org.squashtest.tm.domain.library.TreeNode source,
Collection<org.squashtest.tm.service.internal.library.NodePairing> nextLayer,
Collection<? extends org.squashtest.tm.domain.library.TreeNode> outputList)
This method is used with the PasteStrategy that goes through a three generation by generation (or
layer by layer).
|
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 feedNextLayer(org.squashtest.tm.domain.library.TreeNode destination,
org.squashtest.tm.domain.library.TreeNode source,
Collection<org.squashtest.tm.service.internal.library.NodePairing> nextLayer,
Collection<? extends org.squashtest.tm.domain.library.TreeNode> outputList)
A (containing C) copy A into A should lead to A (containing A' + C) with
A' containing C'. content of A = A' + C .destination - : the result of a PasteOperation on the source nodesource - : The TreeNode in which a paste operation has been processed.nextLayer - : a map to fill with an entry of new source-nodes mapped by their destinationoutputList - : the output list of the paste strategy.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.NodeVisitorCopyright © 2010–2017 Henix, henix.fr. All rights reserved.