@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 VcsBranch
getName
in interface NameProvider
@NotNull public String getDisplayName()
VcsBranch
getDisplayName
in interface VcsBranch
public boolean isEqualToBranchWith(@NotNull String otherName)
isEqualToBranchWith
in interface VcsBranch
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.