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