org.paylogic.jenkins.upmerge.releasebranch
Class ReleaseBranchImpl
java.lang.Object
org.paylogic.jenkins.upmerge.releasebranch.ReleaseBranch
org.paylogic.jenkins.upmerge.releasebranch.ReleaseBranchImpl
- All Implemented Interfaces:
- hudson.ExtensionPoint
public class ReleaseBranchImpl
- extends ReleaseBranch
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
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. |
| Methods inherited from class org.paylogic.jenkins.upmerge.releasebranch.ReleaseBranch |
all |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RELEASEBRANCH_REGEX
public static String RELEASEBRANCH_REGEX
ReleaseBranchImpl
public ReleaseBranchImpl(String startBranch)
throws ReleaseBranchInvalidException
- Constructor of ReleaseBranch.
Split the name of the branch if needed and store locally.
- Parameters:
startBranch - Name of branch to start with (String).
- Throws:
ReleaseBranchInvalidException
next
public void next()
- Sets the object to the next release.
Does not return representation of release.
- Specified by:
next in class ReleaseBranch
next
public void next(List<String> branches)
- Sets the object to the next release.
Does not return representation of release.
- Specified by:
next in class ReleaseBranch
getName
public String getName()
- Returns the current branch name as String
- Specified by:
getName in class ReleaseBranch
- Returns:
- current branch name
copy
public ReleaseBranch copy()
throws ReleaseBranchInvalidException
- Create a new ReleaseBranch object with the current release branch.
- Specified by:
copy in class ReleaseBranch
- Returns:
- new ReleaseBranch
- Throws:
ReleaseBranchInvalidException
Copyright © 2004-2014. All Rights Reserved.