Package io.github.cdklabs.projen.github
Interface MergifyQueue
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MergifyQueue.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.085Z") @Stability(Experimental) public interface MergifyQueue extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMergifyQueue.BuilderA builder forMergifyQueuestatic classMergifyQueue.Jsii$ProxyAn implementation forMergifyQueue
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MergifyQueue.Builderbuilder()List<Object>getConditions()(experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.default StringgetMergeMethod()(experimental) Merge method to use.StringgetName()(experimental) The name of the queue.default StringgetUpdateMethod()(experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place.
-
-
-
Method Detail
-
getConditions
@Stability(Experimental) @NotNull List<Object> getConditions()
(experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.
-
getName
@Stability(Experimental) @NotNull String getName()
(experimental) The name of the queue.
-
getMergeMethod
@Stability(Experimental) @Nullable default String getMergeMethod()
(experimental) Merge method to use.Possible values are
merge,squash,rebaseorfast-forward.fast-forwardis not supported on queues withspeculative_checks> 1,batch_size> 1, or withallow_inplace_checksset to false.Default: "merge"
-
getUpdateMethod
@Stability(Experimental) @Nullable default String getUpdateMethod()
(experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place.Possible values:
mergeto merge the base branch into the pull request.rebaseto rebase the pull request against its base branch.
Note that the
rebasemethod has some drawbacks, see Mergify docs for details.Default: - `merge` for all merge methods except `fast-forward` where `rebase` is used
-
builder
@Stability(Experimental) static MergifyQueue.Builder builder()
- Returns:
- a
MergifyQueue.BuilderofMergifyQueue
-
-