java.lang.Object
com.atlassian.bamboo.configuration.external.yaml.properties.branch.MasterBranch

@Immutable public class MasterBranch extends Object
Definition of a repository branch override imported through Bamboo Specs YAML.
  • Constructor Details

    • MasterBranch

      public MasterBranch(@NotNull @NotNull String name)
    • MasterBranch

      public MasterBranch(@NotNull @NotNull String name, @NotNull @NotNull String displayName)
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
    • getDisplayName

      @Nullable public @Nullable String getDisplayName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object