Class BranchImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BranchImpl
-
- All Implemented Interfaces:
Branch
- Direct Known Subclasses:
BaseFilteredBranch
public class BranchImpl extends Object implements Branch
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.Branch
DEFAULT_BRANCH_NAME, UNSPECIFIED_BRANCH_NAME
-
-
Constructor Summary
Constructors Constructor Description BranchImpl(String branchName)BranchImpl(String branchName, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDisplayName()StringgetName()Returns the branch logical nameinthashCode()booleanisDefaultBranch()Returns true if this branch is default branchStringtoString()
-
-
-
Method Detail
-
getName
@NotNull public String getName()
Description copied from interface:BranchReturns the branch logical name
-
getDisplayName
@NotNull public String getDisplayName()
- Specified by:
getDisplayNamein interfaceBranch- Returns:
- branch display name, i.e. name to show to user
-
isDefaultBranch
public boolean isDefaultBranch()
Description copied from interface:BranchReturns true if this branch is default branch- Specified by:
isDefaultBranchin interfaceBranch- Returns:
- true if this branch is default branch
-
-