|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdvancedSCMManager
| Method Summary | |
|---|---|
void |
clean()
Cleans workspace from artifacts. |
void |
closeBranch(String branch,
String message,
String username)
Close given branch |
String |
getBranch()
Get the current branch name in the workspace. |
List<Branch> |
getBranches(boolean all)
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(boolean all)
Get open Mercurial branches from command line output, and put them in a List so it's nice to work with. |
ReleaseBranch |
getReleaseBranch(String branch)
Get release branch from given branch name. |
String |
merge(String message,
String username)
Merge possible current branch's heads. |
String |
mergeWorkspaceWith(String revision,
String updateTo,
String message,
String username)
Merge current workspace with given 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(String... branchNames)
Executes 'push' command with -b |
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. |
| Method Detail |
|---|
List<Branch> getBranches(boolean all)
throws AdvancedSCMException
all - : get all or only open branches
AdvancedSCMException
List<String> getBranchNames(boolean all)
throws AdvancedSCMException
all - : get all or only open branches
AdvancedSCMException
String getBranch()
throws AdvancedSCMException
AdvancedSCMException
void update(String revision)
throws AdvancedSCMException
revision - : String with revision, hash of branchname to update to.
AdvancedSCMException
void updateClean(String revision)
throws AdvancedSCMException
revision - : String with revision, hash of branchname to update to.
AdvancedSCMException
void stripLocal()
throws AdvancedSCMException
AdvancedSCMException
void clean()
throws AdvancedSCMException
AdvancedSCMException
String mergeWorkspaceWith(String revision,
String updateTo,
String message,
String username)
throws AdvancedSCMException
revision - : String with revision, hash or branchname to merge with.revision - : String with revision, hash or branchname to merge with.updateTo - : String with revision, hash or branchname to update working copy to before actual merge.message - : String commit messageusername - : String commit user name (with email)
AdvancedSCMException
String merge(String message,
String username)
throws AdvancedSCMException
message - : String commit messageusername - : String commit user name (with email)
AdvancedSCMException
void closeBranch(String branch,
String message,
String username)
throws AdvancedSCMException
branch: - String branch name.message - : String with message to give this commit.username - : String commit user name (with email)
AdvancedSCMException
String push(String... branchNames)
throws AdvancedSCMException
AdvancedSCMException
String pull()
throws AdvancedSCMException
AdvancedSCMException
String pull(String remote)
throws AdvancedSCMException
AdvancedSCMException
String pull(String remote,
String branch)
throws AdvancedSCMException
AdvancedSCMException
ReleaseBranch getReleaseBranch(String branch)
throws ReleaseBranchInvalidException
branch - : String branch name
ReleaseBranchInvalidException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||