public class ReleaseBranchImpl extends ReleaseBranch
| Modifier and Type | Field and Description |
|---|---|
static String |
RELEASEBRANCH_REGEX |
| Constructor and Description |
|---|
ReleaseBranchImpl(String startBranch)
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
|
void |
next()
Sets the object to the next release.
|
void |
next(List<String> branches)
Sets the object to the next release.
|
allpublic static String RELEASEBRANCH_REGEX
public ReleaseBranchImpl(String startBranch) 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 ReleaseBranch copy() throws ReleaseBranchInvalidException
copy in class ReleaseBranchReleaseBranchInvalidExceptionCopyright © 2004-2014. All Rights Reserved.