public interface PasteOperation
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getRequirementVersionToIndex() |
List<Long> |
getTestCaseToIndex() |
boolean |
isOkToGoDeeper()
will say if the operation allows to go process node's childrens after operation.
|
org.squashtest.tm.domain.library.TreeNode |
performOperation(org.squashtest.tm.domain.library.TreeNode source,
org.squashtest.tm.domain.library.NodeContainer<org.squashtest.tm.domain.library.TreeNode> destination,
Integer position)
Some operation involving a node and another node will happen, ie the source will be copied or moved to the destination.
|
org.squashtest.tm.domain.library.TreeNode performOperation(org.squashtest.tm.domain.library.TreeNode source,
org.squashtest.tm.domain.library.NodeContainer<org.squashtest.tm.domain.library.TreeNode> destination,
Integer position)
Some operation involving a node and another node will happen, ie the source will be copied or moved to the destination. Also returns a TreeNode resulting from this operation, that will be either the copy of the source or the source itself.
If a position is specified, the source node will be copied/moved to its destination at this position. If position is left to null, it will be appended to the content of the destination.
boolean isOkToGoDeeper()
TreeNodeCopier.visit(org.squashtest.tm.domain.campaign.Iteration) for an example of when it is not ok.Copyright © 2010–2017 Henix, henix.fr. All rights reserved.