Package com.atlassian.bamboo.plan.branch
Interface VcsBranch
-
- All Superinterfaces:
NameProvider
,Serializable
- All Known Implementing Classes:
VcsBranchImpl
public interface VcsBranch extends NameProvider, Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getDisplayName()
This one is important in svn, where vcs branch name is whole path and display name would be only last part of it.@NotNull String
getName()
boolean
isEqualToBranchWith(@NotNull String otherName)
-
-
-
Method Detail
-
getName
@NotNull @NotNull String getName()
- Specified by:
getName
in interfaceNameProvider
-
getDisplayName
@NotNull @NotNull String getDisplayName()
This one is important in svn, where vcs branch name is whole path and display name would be only last part of it. For repositories like git both are the same.
-
isEqualToBranchWith
boolean isEqualToBranchWith(@NotNull @NotNull String otherName)
- Returns:
- true if this object is equal to a branch with given properties.
-
-