Known Direct Subclasses
AbstractCommitCommandParameters |
A base class for constructing CommandParameters classes for commands which operate on a specific commit,
optionally qualified to a specific path. |
|
Known Indirect Subclasses
|
This class is deprecated.
in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common
term for the data they represent. Parameter classes should use
AbstractCommitCommandParameters
instead.
Class Overview
A base class for constructing CommandParameters
classes for commands which operate on a specific commit,
optionally qualified to a specific path.
What the commit
and path
mean to the end command may vary widely.
Derived classes will document those meanings. Extending from this base class implies no contract beyond that:
- The
commit
will never be null
- The
path
may be null
unless documented otherwise by the derived
class
Summary
Nested Classes |
class |
AbstractChangesetCommandParameters.AbstractBuilder<B extends AbstractBuilder<B>> |
|
[Expand]
Inherited Methods |
From class
com.atlassian.stash.util.BuilderSupport
@SafeVarargs
static
<T>
void
|
addIf(Predicate<? super T> predicate, Builder<T> builder, T value, T... values)
|
static
<T>
boolean
|
addIf(Predicate<? super T> predicate, Builder<T> builder, T value)
|
static
<T>
boolean
|
addIf(Predicate<? super T> predicate, Collection<T> collection, T value)
|
@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
<T>
void
|
addIf(Predicate<? super T> predicate, Builder<T> builder, 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()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Protected Constructors
protected
AbstractChangesetCommandParameters
(AbstractBuilder<?> builder)
Parameters
builder
| the builder to initialize from |
Public Methods
@Nonnull
public
String
getChangesetId
()
@Nullable
public
String
getPath
()
public
boolean
hasPath
()