@PublicApi public class VcsBranchImpl extends Object implements Serializable, VcsBranch
| Modifier | Constructor and Description |
|---|---|
protected |
VcsBranchImpl() |
|
VcsBranchImpl(String name)
Can be used in specific repository implementation.
|
|
VcsBranchImpl(String name,
String displayName)
Can be used in specific repository implementation.
|
|
VcsBranchImpl(VcsBranch other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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.
|
String |
getName() |
int |
hashCode() |
boolean |
isEqualToBranchWith(String otherName) |
String |
toString() |
protected VcsBranchImpl()
public VcsBranchImpl(@NotNull
String name)
VcsBranchConfigurator.createVcsBranchFromName(String)name - public VcsBranchImpl(@NotNull
String name,
@NotNull
String displayName)
VcsBranchConfigurator.createVcsBranchFromName(String)name - public VcsBranchImpl(@NotNull
VcsBranch other)
@NotNull public String getName()
getName in interface VcsBranchgetName in interface NameProvider@NotNull public String getDisplayName()
VcsBranchgetDisplayName in interface VcsBranchpublic boolean isEqualToBranchWith(@NotNull
String otherName)
isEqualToBranchWith in interface VcsBranchCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.