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 boolean
equals(Object obj)
String
getDisplayName()
String
getName()
Returns the branch logical nameint
hashCode()
boolean
isDefaultBranch()
Returns true if this branch is default branchString
toString()
-
-
-
Method Detail
-
getName
@NotNull public String getName()
Description copied from interface:Branch
Returns the branch logical name
-
getDisplayName
@NotNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceBranch
- Returns:
- branch display name, i.e. name to show to user
-
isDefaultBranch
public boolean isDefaultBranch()
Description copied from interface:Branch
Returns true if this branch is default branch- Specified by:
isDefaultBranch
in interfaceBranch
- Returns:
- true if this branch is default branch
-
-