jetbrains.buildServer.serverSide
Interface Branch


public interface Branch

Represents a build branch

Since:
7.1

Field Summary
static java.lang.String DEFAULT_BRANCH_NAME
           
static java.lang.String UNSPECIFIED_BRANCH_NAME
           
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.String getName()
          Returns the branch logical name
 boolean isDefaultBranch()
          Returns true if this branch is default branch
 

Field Detail

DEFAULT_BRANCH_NAME

static final java.lang.String DEFAULT_BRANCH_NAME
See Also:
Constant Field Values

UNSPECIFIED_BRANCH_NAME

static final java.lang.String UNSPECIFIED_BRANCH_NAME
See Also:
Constant Field Values
Method Detail

getName

@NotNull
java.lang.String getName()
Returns the branch logical name

Returns:
branch logical name

getDisplayName

@NotNull
java.lang.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