Class Overview
Describes which refs to ScmCommandFactory#resolveRefs(ResolveRefsCommandParameters, RefCallback) resolve. If
it is known whether a requested ref is a branch or a tag, the caller is encouraged to use either the
branchId(String)
or tagId(String)
method to allow the SCM to optimize resolving of
refs. If the ref type is unknown, the refId(String)
method should be used.
Summary
Nested Classes |
class |
ResolveRefsCommandParameters.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)
|
static
String
|
checkNotBlank(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
Set<String>
getBranchIds
()
Returns
- the branch IDs to resolve
@Nonnull
public
Set<String>
getRefIds
()
Returns
- the ref IDs to resolve. Could be branches or tags