Class BranchBean
- java.lang.Object
-
- jetbrains.buildServer.controllers.BranchBean
-
- Direct Known Subclasses:
BuildTypeBranchBean
public abstract class BranchBean extends java.lang.Object
- Since:
- 2018.2
-
-
Constructor Summary
Constructors Constructor Description BranchBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract BuildTypeBranchBean
createIn(SBuildType buildType)
abstract java.lang.String
getUserBranch()
Name of the branch as presented in the URL.abstract boolean
isAllBranches()
boolean
isDefaultBranch()
abstract boolean
isSelectedBranchExcluded()
abstract boolean
isSingleBranch()
boolean
isWildcardBranch()
Deprecated.since 2018.2
-
-
-
Method Detail
-
getUserBranch
@NotNull public abstract java.lang.String getUserBranch()
Name of the branch as presented in the URL. It is the logical branch name (when isSingleBranch returns true) or it can represent set of branches
-
isAllBranches
public abstract boolean isAllBranches()
-
isWildcardBranch
@Deprecated public boolean isWildcardBranch()
Deprecated.since 2018.2
-
isDefaultBranch
public boolean isDefaultBranch()
-
isSingleBranch
public abstract boolean isSingleBranch()
- Returns:
- true if this bean represents a single branch
-
createIn
@NotNull public abstract BuildTypeBranchBean createIn(@NotNull SBuildType buildType)
-
isSelectedBranchExcluded
public abstract boolean isSelectedBranchExcluded()
- Returns:
- true if a single branch is selected in this branch bean but this branch is excluded by build type branch filter
- Since:
- 2019.1.1
-
-