Package jetbrains.buildServer.serverSide
Interface Branch
-
- All Known Subinterfaces:
BranchEx,FilteredBranch
- All Known Implementing Classes:
AbstractBuildTypeBranch,BaseFilteredBranch,BranchImpl
public interface BranchRepresents a build branch- Since:
- 7.1
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_BRANCH_NAMEstatic StringUNSPECIFIED_BRANCH_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayName()StringgetName()Returns the branch logical namebooleanisDefaultBranch()Returns true if this branch is default branch
-
-
-
Field Detail
-
DEFAULT_BRANCH_NAME
static final String DEFAULT_BRANCH_NAME
- See Also:
- Constant Field Values
-
UNSPECIFIED_BRANCH_NAME
static final String UNSPECIFIED_BRANCH_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
@NotNull String getName()
Returns the branch logical name- Returns:
- branch logical name
-
getDisplayName
@NotNull String getDisplayName()
- Returns:
- branch display name, i.e. name to show to user
-
isDefaultBranch
boolean isDefaultBranch()
Returns true if this branch is default branch- Returns:
- true if this branch is default branch
-
-