Interface VcsBranch

All Superinterfaces:
NameProvider, Serializable
All Known Implementing Classes:
VcsBranchImpl

public interface VcsBranch extends NameProvider, Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    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
     
    boolean
    isEqualToBranchWith(@NotNull String otherName)
     
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      Specified by:
      getName in interface NameProvider
    • 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.