Class 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 for MergifyQueue
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(MergifyQueue.Builder builder)
      Constructor that initializes the object based on literal property values passed by the MergifyQueue.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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.
    • Method Detail

      • getMergeMethod

        public final String getMergeMethod()
        Description copied from interface: MergifyQueue
        (experimental) Merge method to use.

        Possible values are merge, squash, rebase or fast-forward. fast-forward is not supported on queues with speculative_checks > 1, batch_size > 1, or with allow_inplace_checks set to false.

        Default: "merge"

        Specified by:
        getMergeMethod in interface MergifyQueue
      • 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:

        • merge to merge the base branch into the pull request.
        • rebase to rebase the pull request against its base branch.

        Note that the rebase method has some drawbacks, see Mergify docs for details.

        Default: - `merge` for all merge methods except `fast-forward` where `rebase` is used

        Specified by:
        getUpdateMethod in interface MergifyQueue
        See Also:
        https://docs.mergify.com/actions/queue/#queue-rules
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object