public interface IMergeCommand
A merge source and a target fragment must be specified.
A list of revisions to cherrypick can be filled. If the list is empty, all changes from the source branch are reintegrated in the fragment since the common ancestor of the source branch and the target fragment.
Modifier and Type | Method and Description |
---|---|
IUpdateDetails |
execute(org.modelio.vbasic.progress.IModelioProgress iMonitor)
Execute the merge.
|
IMergeConfig |
getConfiguration()
Get the command parameters for process extension contributors.
|
java.lang.String |
getMergeSourceUrl() |
java.util.List<CmsRevisionRange> |
getRevisions()
Get the revisions to merge.
|
boolean |
isBatchMode() |
void |
setBatch(boolean batchMode)
Set whether the command must be run in batch mode
|
void |
setFragment(IGModelFragment fragment)
Set the target fragment.
|
void |
setMergeSourceUrl(java.lang.String aSvnUrl)
Set the merge source SVN URL.
|
void |
setUseProcessExtension(boolean val)
Set whether the the
process model extensions will be called. |
boolean |
useProcessExtension()
Tells whether the the
process model extensions will be called. |
java.lang.String getMergeSourceUrl()
void setMergeSourceUrl(java.lang.String aSvnUrl)
aSvnUrl
- the merge source URLvoid setFragment(IGModelFragment fragment)
fragment
- the target fragment.java.util.List<CmsRevisionRange> getRevisions()
The returned collection is modifiable to specify the list of revisions to cherrypick.
IUpdateDetails execute(org.modelio.vbasic.progress.IModelioProgress iMonitor) throws CmsException
iMonitor
- a progress monitor.CmsException
- in case of failure before the working copy is modified.boolean useProcessExtension()
process model extensions
will be called.process model extensions
will be called.boolean isBatchMode()
void setBatch(boolean batchMode)
batchMode
- true for batch mode. false to allow GUI.void setUseProcessExtension(boolean val)
process model extensions
will be called.val
- true to use the process model extensions
will be called.IMergeConfig getConfiguration()