public abstract class ReleaseBranch extends Object implements hudson.ExtensionPoint
Constructor and Description |
---|
ReleaseBranch(String startBranch)
Constructor of ReleaseBranch.
|
Modifier and Type | Method and Description |
---|---|
static hudson.ExtensionList<ReleaseBranch> |
all()
Helper method for Jenkins custom extension point.
|
abstract ReleaseBranch |
copy()
Create a new ReleaseBranch object with the current release branch.
|
abstract String |
getName()
Returns the current branch name as String
Output need to be able to be consumed by constructor of ReleaseBranch.
|
abstract String |
getReleaseName()
Returns the current release as String
|
abstract void |
next()
Sets the object to the next release.
|
abstract void |
next(List<String> branches)
Sets the object to the next release with check for existing release branches.
|
public ReleaseBranch(String startBranch) throws ReleaseBranchInvalidException
startBranch
- Name of branch to start with (String).ReleaseBranchInvalidException
public abstract void next()
public abstract void next(List<String> branches)
public abstract String getName()
public abstract String getReleaseName() throws ReleaseBranchInvalidException
ReleaseBranchInvalidException
public abstract ReleaseBranch copy() throws ReleaseBranchInvalidException
ReleaseBranchInvalidException
public static hudson.ExtensionList<ReleaseBranch> all()
Copyright © 2004-2015. All Rights Reserved.