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.
|
all
public ReleaseBranchImpl(String startBranch, String default_branch) throws ReleaseBranchInvalidException
startBranch
- Name of branch to start with (String).ReleaseBranchInvalidException
public void next()
next
in class ReleaseBranch
public void next(List<String> branches)
next
in class ReleaseBranch
public String getName()
getName
in class ReleaseBranch
public String getReleaseName() throws ReleaseBranchInvalidException
getReleaseName
in class ReleaseBranch
ReleaseBranchInvalidException
public ReleaseBranch copy() throws ReleaseBranchInvalidException
copy
in class ReleaseBranch
ReleaseBranchInvalidException
Copyright © 2004-2015. All Rights Reserved.