Class Overview
Describes a ref to resolve.
If it is known whether a requested ref is a branch or a tag, the caller is encouraged to specify the
type to allow the SCM to optimize resolving the ref. If the ref type is unknown, the
type should be left null.
Summary
| Nested Classes |
|
class |
ResolveRefCommandParameters.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
getRefId
()
Returns
- the branch IDs to resolve
@Nonnull
public
Optional<RefType>
getType
()
Returns
- an optional
RefType, used to limit scope for matching the refId, which may
empty() but never null