Package jetbrains.buildServer.serverSide
Interface Branch
-
- All Known Subinterfaces:
BranchEx
,FilteredBranch
- All Known Implementing Classes:
AbstractBuildTypeBranch
,BaseFilteredBranch
,BranchImpl
public interface Branch
Represents a build branch- Since:
- 7.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_BRANCH_NAME
static String
UNSPECIFIED_BRANCH_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
String
getName()
Returns the branch logical nameboolean
isDefaultBranch()
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
-
-