Package com.atlassian.bamboo.plan.branch
Class VcsBranchImpl
java.lang.Object
com.atlassian.bamboo.plan.branch.VcsBranchImpl
- All Implemented Interfaces:
VcsBranch,NameProvider,Serializable
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVcsBranchImpl(@NotNull VcsBranch other) VcsBranchImpl(@NotNull String name) Can be used in specific repository implementation.VcsBranchImpl(@NotNull String name, @NotNull String displayName) Can be used in specific repository implementation. -
Method Summary
-
Constructor Details
-
VcsBranchImpl
protected VcsBranchImpl() -
VcsBranchImpl
Can be used in specific repository implementation. For general usage tryVcsBranchConfigurator.createVcsBranchFromName(String)- Parameters:
name-
-
VcsBranchImpl
Can be used in specific repository implementation. For general usage tryVcsBranchConfigurator.createVcsBranchFromName(String)- Parameters:
name-displayName-
-
VcsBranchImpl
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceNameProvider- Specified by:
getNamein interfaceVcsBranch
-
getDisplayName
Description copied from interface:VcsBranchThis 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.- Specified by:
getDisplayNamein interfaceVcsBranch
-
isEqualToBranchWith
- Specified by:
isEqualToBranchWithin interfaceVcsBranch- Returns:
- true if this object is equal to a branch with given properties.
-
equals
-
hashCode
public int hashCode() -
toString
-