Package io.github.cdklabs.projen.github
Class MergifyQueue.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.MergifyQueue.Jsii$Proxy
-
- All Implemented Interfaces:
MergifyQueue,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MergifyQueue
@Stability(Experimental) @Internal public static final class MergifyQueue.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MergifyQueue
An implementation forMergifyQueue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.github.MergifyQueue
MergifyQueue.Builder, MergifyQueue.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MergifyQueue.Builder builder)Constructor that initializes the object based on literal property values passed by theMergifyQueue.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)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.StringgetMergeMethod()(experimental) Merge method to use.StringgetName()(experimental) The name of the queue.StringgetUpdateMethod()(experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MergifyQueue.Builder builder)
Constructor that initializes the object based on literal property values passed by theMergifyQueue.Builder.
-
-
Method Detail
-
getConditions
public final List<Object> getConditions()
Description copied from interface:MergifyQueue(experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.- Specified by:
getConditionsin interfaceMergifyQueue- See Also:
- https://docs.mergify.com/conditions/#conditions
-
getName
public final String getName()
Description copied from interface:MergifyQueue(experimental) The name of the queue.- Specified by:
getNamein interfaceMergifyQueue
-
getMergeMethod
public final String getMergeMethod()
Description copied from interface:MergifyQueue(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"
- Specified by:
getMergeMethodin interfaceMergifyQueue
-
getUpdateMethod
public final String getUpdateMethod()
Description copied from interface:MergifyQueue(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
- Specified by:
getUpdateMethodin interfaceMergifyQueue- See Also:
- https://docs.mergify.com/actions/queue/#queue-rules
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-