Class StaleBehavior.Jsii$Proxy

  • All Implemented Interfaces:
    StaleBehavior, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    StaleBehavior

    @Stability(Experimental)
    @Internal
    public static final class StaleBehavior.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements StaleBehavior
    An implementation for StaleBehavior
    • 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

      • getCloseMessage

        public final String getCloseMessage()
        Description copied from interface: StaleBehavior
        (experimental) The comment to add to the issue/PR when it's closed.

        Default: "Closing this pull request as it hasn\'t seen activity for a while. Please add a comment

        Specified by:
        getCloseMessage in interface StaleBehavior
      • getDaysBeforeClose

        public final Number getDaysBeforeClose()
        Description copied from interface: StaleBehavior
        (experimental) Days until the issue/PR is closed after it is marked as "Stale".

        Set to -1 to disable.

        Default: -

        Specified by:
        getDaysBeforeClose in interface StaleBehavior
      • getDaysBeforeStale

        public final Number getDaysBeforeStale()
        Description copied from interface: StaleBehavior
        (experimental) How many days until the issue or pull request is marked as "Stale".

        Set to -1 to disable.

        Default: -

        Specified by:
        getDaysBeforeStale in interface StaleBehavior
      • getEnabled

        public final Boolean getEnabled()
        Description copied from interface: StaleBehavior
        (experimental) Determines if this behavior is enabled.

        Same as setting daysBeforeStale and daysBeforeClose to -1.

        Default: true

        Specified by:
        getEnabled in interface StaleBehavior
      • getExemptLabels

        public final List<String> getExemptLabels()
        Description copied from interface: StaleBehavior
        (experimental) Label which exempt an issue/PR from becoming stale.

        Set to [] to disable.

        Default: - ["backlog"]

        Specified by:
        getExemptLabels in interface StaleBehavior
      • getStaleLabel

        public final String getStaleLabel()
        Description copied from interface: StaleBehavior
        (experimental) The label to apply to the issue/PR when it becomes stale.

        Default: "stale"

        Specified by:
        getStaleLabel in interface StaleBehavior
      • getStaleMessage

        public final String getStaleMessage()
        Description copied from interface: StaleBehavior
        (experimental) The comment to add to the issue/PR when it becomes stale.

        Default: "This pull request is now marked as stale because hasn\'t seen activity for a while. Add a comment or it will be closed soon."

        Specified by:
        getStaleMessage in interface StaleBehavior
      • $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