|
||||||||||
| 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 message,
String username)
Close given branch |
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(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. |
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(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)
all - : get all or only open branches
List<String> getBranchNames(boolean all)
all - : get all or only open branches
String getBranch()
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
void commit(String message,
String username)
throws AdvancedSCMException
message - : String with message to give this commit.
AdvancedSCMException
String mergeWorkspaceWith(String revision)
throws AdvancedSCMException
revision - : String with revision, hash or branchname to merge with.
AdvancedSCMException
String merge()
throws AdvancedSCMException
AdvancedSCMException
void closeBranch(String message,
String username)
throws AdvancedSCMException
AdvancedSCMException
String 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.
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||