Class Overview
Parameters for editing
a file.
Summary
Nested Classes |
class |
EditFileCommandParameters.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 Constructors
Public Methods
@Nonnull
public
Optional<Branch>
getBranch
()
Returns
- the branch from which the file edit should be performed
@Nonnull
public
String
getMessage
()
@Nonnull
public
String
getPath
()
@Nonnull
public
Optional<String>
getSourceCommitId
()
@Nonnull
public
String
getTargetBranch
()
Returns
- the name of the target branch