Important notes:
-
This interface is not available in ReadyAPI 2.6 or later.
-
This interface is not available in SoapUI Open Source.
Note: |
ActivationStatus
A callback that activates this integration component for the specified project. Called when a project associated with this particular VCS is opened.
-
@param project - the project that has been opened.
-
@return an object representing the status.
BuildRepositorySelectionGui
Return a GUI component for selecting the repository to be associated with a project.
-
@param project - the project with which the repository is to be associated.
-
@return a component that can be added to a dialog and initializes everything needed to work with a remote repository.
BuildRepositoryDownloadGui
Return a GUI component for selecting a repository containing a composite project. The GUI is responsible for processing user input and handling the download (which can be canceled while in progress).
-
@param workspace - the workspace that the project will be added to after the download.
-
@return a component that can be added to a dialog and that handles all the aspects of the repository download.
GetRemoteRepositoryUpdates
Get a list of all the updates in the remote repository along with the info about whether there is a conflict with local changes.
- @param projectFile - a remote project file to be compared with the local version.
- @return a collection of objects encapsulating remote VCS changes (added, updated, deleted files, etc.).
GetLocalRepository
Get a list of all the local uncommitted updates.
-
@param project - a local file to be compared with the repository.
-
@return a collection of objects encapsulating local VCS changes (added, updated, deleted files, etc.)
-
@throws IllegalStateException if the local repo is in the invalid state or local updates exist.
GetLockHandler
Gets an object responsible for all operations related to locking.
-
@return an instance of LockHandler, or
null
if locking is not supported in this VCS.
UpdateFromRemoteReposistory
Apply all the changes from the remote repository.
-
@param projectFile - the file where the project is saved.
-
@param overwriteLocalChanges - specifies whether the update should overwrite all conflicting local changes.
DeleteFile
Deletes a local file and marks it for deletion in the remote repository.
-
@param project - a local file to be compared with the repository.
-
@param fileToDelete - an existing file that should be deleted.
-
@throws FileNotFoundException if the file does not exist.
-
@throws IllegalStateException if a local repo is in the invalid state or local updates exist.
-
@throws IOException if a general IO error occurs.
Commit
Sends any number of local updates to the remote repository.
-
@param updates - a collection of objects representing the local updates.
-
@param commitMessage - the user's commit message explaining the changes.
-
@return an object encapsulating the status of the operation.
-
@throws IllegalStateException if a local repo is in the invalid state, or local updates exist.
Revert
Reverts a local update.
-
@param updates - a collection of objects representing the updates to revert.
-
@throws IllegalStateException if a local repo is in the invalid state or local updates exist.
-
@throws VcsIntegrationException if the operation cannot be performed.
GetAvailableTags
Gets the names of all existing tags. If it is possible to have them sorted by creation date, the set shall be a SortedSet with the oldest tag being the first.
-
@param project - a local file to be compared with the repository.
-
@return a set with the names of all existing tags, which may or may not be sorted.
-
@throws IllegalStateException if a local repo is in the invalid state or local updates exist.
-
@throws VcsIntegrationException if the underlying operation fails.
GetFileHistory
Create a tag (label) for the current state and commit the tag to the remote repository. There must be no local updates when this operation is performed, and the tag name must be unique.
-
@param project - a local file to be compared with the repository.
-
@param tagName - the name of the tag.
-
@throws IllegalStateException if a local repo is in the invalid state or local updates exist.
-
@throws IllegalArgumentException if the tag name is not unique.
-
@throws VcsIntegrationException if the underlying operation fails.
Gets the complete commit history of the specified file.
-
@param project - a local file to be compared with the repository.
-
@param file - the file to get the history for.
-
@return an ordered list of changes (newest first) associated with the file in the remote repository.
-
@throws IllegalStateException if a local repo is in the invalid state or local updates exist.
GetProjectHistory
Gets the complete commit history of the specified project.
-
@param project - a local file to be compared with the repository.
-
@return an ordered list (newest first) of changes associated with the file in the remote repository.
-
@throws IllegalStateException if a local repo is in the invalid state.