|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.paylogic.jenkins.upmerge.releasebranch.ReleaseBranch
public abstract class ReleaseBranch
Abstract class to represent a Release Branch. Implement one for your use case by filling the ExtensionPoint.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
ReleaseBranch(String startBranch)
Constructor of ReleaseBranch. |
|
| Method Summary | |
|---|---|
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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReleaseBranch(String startBranch)
throws ReleaseBranchInvalidException
startBranch - Name of branch to start with (String).
ReleaseBranchInvalidException| Method Detail |
|---|
public abstract void next()
public abstract void next(List<String> branches)
public abstract String getName()
public abstract ReleaseBranch copy()
throws ReleaseBranchInvalidException
ReleaseBranchInvalidExceptionpublic static hudson.ExtensionList<ReleaseBranch> all()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||