public interface ICmsServices
Modifier and Type | Method and Description |
---|---|
void |
addCodeReverser(ICodeReverser reverser)
Add a code reverser that will be called before committing elements.
|
IAddCommand |
createAddCommand()
Create a "Add to version" command.
|
IBreakLockCommand |
createBreakLockCommand()
Create a "Break lock" command.
|
ICancelAddCommand |
createCancelAddCommand()
Create a "Cancel Add" command.
|
ICleanupWorkingCopyCommand |
createCleanUpCommand()
Create a command that Cleanup and repair the working copy.
|
ICommitCommand |
createCommitCommand()
Create a command to commit the elements in subversion and put the CMS lock on them so that they cannot be modified again.
|
IConnectDirToRepositoryCommand |
createConnectDirToRepositoryCommand()
Create a command to checkout a repository directory into a working copy.
|
ICreateBranchCommand |
createCreateBranchCommand()
Create a command to create a branch.
|
ICreateTagCommand |
createCreateTagCommand()
Create a command to create a tag.
|
IGetLockCommand |
createGetLockCommand()
Create a "Get lock" command.
|
IMergeCommand |
createMergeCommand()
Creates a merge command.
|
IRemoveCommand |
createRemoveCommand() |
IRepairCommand |
createRepairCommand(IProjectFragment fragment)
Create a repository repair command.
|
IRevertCommand |
createRevertCommand()
Create a "Revert" command.
|
ISymbolService |
createSymbolService()
Create a symbol service.
|
ISynchronizeStateCommand |
createSynchronizeStateCommand()
Synchronize the CMS states of elements from the working copy files state.
|
IUpdateCommand |
createUpdateCommand() |
IRepositoryProperties |
getAdminProperties(IProjectFragment fragment)
Get a repository administration properties.
|
IProcessExtension |
getDefaultHook()
Get the default hook called by Subversion at various time during a Subversion operation.
|
IFileChangesRecorder |
getFileChangeRecorder()
Get the service that records changes on external files
to be versioned and associated to CMS nodes.
|
IProcessExtension |
getHook() |
ICmsMetamodelExtensionPoints |
getMetamodelExtensions() |
void |
removeCodeReverser(ICodeReverser reverser)
Remove a code reverser.
|
void |
setHook(IProcessExtension hook)
Set the process extension hook and forgets the previous one.
|
void addCodeReverser(ICodeReverser reverser) throws java.lang.IllegalArgumentException
reverser
- The code reverser to add. Must not be null.java.lang.IllegalArgumentException
- if reverser
is null.void removeCodeReverser(ICodeReverser reverser) throws java.lang.IllegalArgumentException
reverser
- The code reverser to remove. Must not be null.java.lang.IllegalArgumentException
- if reverser
is null.IAddCommand createAddCommand()
IBreakLockCommand createBreakLockCommand()
ICancelAddCommand createCancelAddCommand()
Used to cancel the addition of elements scheduled for addition to version.
ICleanupWorkingCopyCommand createCleanUpCommand()
ICommitCommand createCommitCommand()
The command must first be parameterized, then execute() can be called.
IGetLockCommand createGetLockCommand()
IRemoveCommand createRemoveCommand()
IRepairCommand createRepairCommand(IProjectFragment fragment)
For internal use only.
fragment
- the CMS fragment to repair.IRevertCommand createRevertCommand()
ISymbolService createSymbolService()
A symbol service is able to give the name and the complete name of an element even if it is not yet/anymore in the project but still in the repository.
IUpdateCommand createUpdateCommand()
IRepositoryProperties getAdminProperties(IProjectFragment fragment) throws java.io.IOException
fragment
- a CMS fragmentjava.io.IOException
- in case of failureIProcessExtension getDefaultHook()
IProcessExtension getHook()
void setHook(IProcessExtension hook)
The hook is called by the CMS engine at various time during a CMS operation.
hook
- the new process extension hook.ISynchronizeStateCommand createSynchronizeStateCommand()
This command is usually useless.
IMergeCommand createMergeCommand()
IConnectDirToRepositoryCommand createConnectDirToRepositoryCommand()
IFileChangesRecorder getFileChangeRecorder()
All recorded changes are automatically added to the next SVN operation run on the associated CMS node (committed with the model, or reverted with it).
ICreateBranchCommand createCreateBranchCommand()
ICreateTagCommand createCreateTagCommand()
ICmsMetamodelExtensionPoints getMetamodelExtensions()