public interface AdvancedSCMManager
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Cleans workspace from artifacts.
|
void |
commit(String message,
String username)
Commit the workspace changes with the given message.
|
String |
getBranch()
Get the current branch name in the workspace.
|
List<Branch> |
getBranches()
Get Mercurial branches from command line output,
and put them in a List with Branches so it's nice to work with.
|
List<String> |
getBranchNames()
Get Mercurial branches from command line output,
and put them in a List so it's nice to work with.
|
String |
merge()
Merge possible current branch's heads.
|
String |
mergeWorkspaceWith(String revision)
Merge current workspace with given revision.
|
String |
mergeWorkspaceWith(String revision,
String updateTo)
Update workspace to 'updateTo' and then merge that workspace with 'revision'.
|
String |
pull()
Executes 'pull' command
|
String |
pull(String remote)
Pulls changes from remotes.
|
String |
pull(String remote,
String branch)
Pulls from given repository url.
|
String |
push()
Executes 'push' command
|
String |
pushCertainBranch(String branchname) |
String |
pushWithNewBranches() |
void |
stripLocal()
Strip out local commits which are not pushed yet.
|
void |
update(String revision)
Updates workspace to given revision/branch.
|
void |
updateClean(String revision)
Updates workspace to given revision/branch with cleaning.
|
List<Branch> getBranches()
List<String> getBranchNames()
String getBranch()
void update(String revision) throws AdvancedSCMException
revision - : String with revision, hash of branchname to update to.AdvancedSCMExceptionvoid updateClean(String revision) throws AdvancedSCMException
revision - : String with revision, hash of branchname to update to.AdvancedSCMExceptionvoid stripLocal()
throws AdvancedSCMException
AdvancedSCMExceptionvoid clean()
throws AdvancedSCMException
AdvancedSCMExceptionvoid commit(String message, String username) throws AdvancedSCMException
message - : String with message to give this commit.AdvancedSCMExceptionString mergeWorkspaceWith(String revision) throws AdvancedSCMException
revision - : String with revision, hash or branchname to merge with.AdvancedSCMExceptionString merge() throws AdvancedSCMException
AdvancedSCMExceptionString mergeWorkspaceWith(String revision, String updateTo) throws AdvancedSCMException
revision - : String with revision, hash or branchname to merge with.updateTo - : String with revision, hash or branchname to update to before merge.AdvancedSCMExceptionString push() throws AdvancedSCMException
AdvancedSCMExceptionString pull() throws AdvancedSCMException
AdvancedSCMExceptionString pull(String remote) throws AdvancedSCMException
AdvancedSCMExceptionString pull(String remote, String branch) throws AdvancedSCMException
AdvancedSCMExceptionString pushWithNewBranches() throws AdvancedSCMException
AdvancedSCMExceptionString pushCertainBranch(String branchname) throws AdvancedSCMException
AdvancedSCMExceptionCopyright © 2004-2014. All Rights Reserved.