Class Overview
Describes a branch to set as the default
.
When updating the default branch, it is strongly encouraged to use the branch's ID
rather than its display ID
. Using the display ID may result in the update failing,
or in the "wrong" branch being made the default.
Summary
Nested Classes |
class |
UpdateDefaultBranchCommandParameters.Builder |
|
[Expand]
Inherited Methods |
From class
com.atlassian.bitbucket.util.BuilderSupport
static
<T>
boolean
|
addIf(Predicate<? super T> predicate, Builder<T> builder, T value)
|
@SafeVarargs
static
<T>
void
|
addIf(Predicate<? super T> predicate, Builder<T> builder, T value, T... values)
|
static
<T>
boolean
|
addIf(Predicate<? super T> predicate, Collection<T> collection, T value)
|
static
<T>
void
|
addIf(Predicate<? super T> predicate, Builder<T> builder, Iterable<? extends T> values)
|
@SafeVarargs
static
<T>
void
|
addIf(Predicate<? super T> predicate, Collection<T> collection, T value, T... values)
|
static
<T>
void
|
addIf(Predicate<? super T> predicate, Collection<T> collection, Iterable<? extends T> values)
|
@Nonnull
static
String
|
checkNotBlank(String value, String name)
|
@Nonnull
static
String
|
requireNonBlank(String value, String name)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
@Nonnull
public
String
getBranchId
()
Returns
- retrieves the
ID
of the branch that should be set as the default