@Stability(value=Experimental) @Internal public static final class StaleBehavior.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StaleBehavior
StaleBehaviorsoftware.amazon.jsii.JsiiObject.InitializationModeStaleBehavior.Builder, StaleBehavior.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(StaleBehavior.Builder builder)
Constructor that initializes the object based on literal property values passed by the
StaleBehavior.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCloseMessage()
(experimental) The comment to add to the issue/PR when it's closed.
|
Number |
getDaysBeforeClose()
(experimental) Days until the issue/PR is closed after it is marked as "Stale".
|
Number |
getDaysBeforeStale()
(experimental) How many days until the issue or pull request is marked as "Stale".
|
Boolean |
getEnabled()
(experimental) Determines if this behavior is enabled.
|
String |
getStaleLabel()
(experimental) The label to apply to the issue/PR when it becomes stale.
|
String |
getStaleMessage()
(experimental) The comment to add to the issue/PR when it becomes stale.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(StaleBehavior.Builder builder)
StaleBehavior.Builder.public final String getCloseMessage()
StaleBehaviorDefault: "Closing this pull request as it hasn\'t seen activity for a while. Please add a comment
getCloseMessage in interface StaleBehaviorpublic final Number getDaysBeforeClose()
StaleBehaviorSet to -1 to disable.
Default: -
getDaysBeforeClose in interface StaleBehaviorpublic final Number getDaysBeforeStale()
StaleBehaviorSet to -1 to disable.
Default: -
getDaysBeforeStale in interface StaleBehaviorpublic final Boolean getEnabled()
StaleBehavior
Same as setting daysBeforeStale and daysBeforeClose to -1.
Default: true
getEnabled in interface StaleBehaviorpublic final String getStaleLabel()
StaleBehaviorDefault: "Stale"
getStaleLabel in interface StaleBehaviorpublic final String getStaleMessage()
StaleBehaviorDefault: "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."
getStaleMessage in interface StaleBehavior@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.