Package com.polarion.alm.tracker
Interface IModuleBrancher
public interface IModuleBrancher
- Since:
- 3.6.0
-
Method Summary
Modifier and TypeMethodDescriptioncom.polarion.alm.tracker.internal.ModuleBranchercopyWorkflowStatusAndSignatures(boolean value) Specifies that workflow status and signatures should be copied to the branched document.execute()Executes the branching of the module and returns the resulting module which is already saved (methodIModule.save()was called, so the caller does not have to do anything with the returned module.com.polarion.alm.tracker.internal.ModuleBrancherSpecifies optional filtering query.com.polarion.alm.tracker.internal.ModuleBrancherfreezeReferences(boolean value) Specifies that referenced Work Item revisions should be frozen.
-
Method Details
-
filterBy
Specifies optional filtering query.- Throws:
IllegalStateException- if called afterexecute()
-
copyWorkflowStatusAndSignatures
@NotNull com.polarion.alm.tracker.internal.ModuleBrancher copyWorkflowStatusAndSignatures(boolean value) Specifies that workflow status and signatures should be copied to the branched document.- Parameters:
value-trueto copy the workflow status and signatures- Throws:
IllegalStateException- if called afterexecute()- Since:
- 3.9.0
-
freezeReferences
@NotNull com.polarion.alm.tracker.internal.ModuleBrancher freezeReferences(boolean value) Specifies that referenced Work Item revisions should be frozen. If this method is NOT used, then if you branch from a Document's HEAD revision, referenced Work Items also lead to their HEAD revisions. If you branch from a historical Document revision, then referenced Work Items are frozen to the same historical Document revision.- Parameters:
value-trueto freeze reference revisions- Throws:
IllegalStateException- if called afterexecute()- Since:
- 3.21.2
-
execute
Executes the branching of the module and returns the resulting module which is already saved (methodIModule.save()was called, so the caller does not have to do anything with the returned module.
-