public interface ICreateBranchCommand
The branch is based on the last revision of the repository pointed by the working copy.
| Modifier and Type | Method and Description | 
|---|---|
ICreateBranchCommand | 
addElement(MObject el)
Add an element. 
 | 
void | 
execute(org.modelio.vbasic.progress.IModelioProgress monitor)
Run the operation. 
 | 
ICreateBranchCommand | 
setBranchSpec(java.lang.String tagSpec)
Set the tag specification. 
 | 
ICreateBranchCommand | 
setCommitMessage(java.lang.String commitMessage)
Set the comment that will be set as commit message for the tag creation. 
 | 
ICreateBranchCommand | 
setFragment(IProjectFragment fragment)
Set the fragment to create a tag for. 
 | 
void execute(org.modelio.vbasic.progress.IModelioProgress monitor)
      throws CmsException
monitor - the progress monitor to use for reporting progress to the user. CmsException - on failureICreateBranchCommand setCommitMessage(java.lang.String commitMessage)
commitMessage - the commit content.ICreateBranchCommand setFragment(IProjectFragment fragment)
fragment - the CMS fragment.ICreateBranchCommand setBranchSpec(java.lang.String tagSpec)
The specification depends on the repository technology. For SVN the specification is the complete URL of the tag to create.
tagSpec - the tag specificationICreateBranchCommand addElement(MObject el)
The element will be used to guess the fragment to tag.
el - a CMS managed element.