B - the concrete builder classpublic abstract static class MergeCommandParameters.AbstractMergeBuilder<B extends MergeCommandParameters.AbstractMergeBuilder<B>> extends AbstractMergeCommandParameters.AbstractBuilder<B>
| Constructor and Description |
|---|
AbstractMergeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
fromBranch(String value) |
B |
fromCommitId(String value) |
B |
fromRepository(Repository value)
|
B |
toBranch(String value) |
protected void |
validate() |
author, commitSummaries, committer, dryRun, message, self, strategyId@Nonnull public B fromCommitId(@Nullable String value)
value - the commit ID to merge, or null to merge the current tip of the
branchthis@Nonnull public B fromRepository(@Nullable Repository value)
Repository containing the from branch and
commit. This value only needs to be supplied if the
from branch/commit are not in the same repository as the target.protected void validate()
validate in class AbstractMergeCommandParameters.AbstractBuilder<B extends MergeCommandParameters.AbstractMergeBuilder<B>>Copyright © 2019 Atlassian. All rights reserved.