public class ReleaseBranchImpl extends ReleaseBranch
| Constructor and Description |
|---|
ReleaseBranchImpl(String startBranch,
String default_branch)
Constructor of ReleaseBranch.
|
| Modifier and Type | Method and Description |
|---|---|
ReleaseBranch |
copy()
Create a new ReleaseBranch object with the current release branch.
|
String |
getName()
Returns the current branch name as String
|
String |
getReleaseName()
Returns the current release name as String
|
void |
next()
Sets the object to the next release.
|
void |
next(List<String> branches)
Sets the object to the next release.
|
allpublic ReleaseBranchImpl(String startBranch, String default_branch) throws ReleaseBranchInvalidException
startBranch - Name of branch to start with (String).ReleaseBranchInvalidExceptionpublic void next()
next in class ReleaseBranchpublic void next(List<String> branches)
next in class ReleaseBranchpublic String getName()
getName in class ReleaseBranchpublic String getReleaseName() throws ReleaseBranchInvalidException
getReleaseName in class ReleaseBranchReleaseBranchInvalidExceptionpublic ReleaseBranch copy() throws ReleaseBranchInvalidException
copy in class ReleaseBranchReleaseBranchInvalidExceptionCopyright © 2004-2015. All Rights Reserved.