@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.771Z") @Stability(value=Experimental) public interface StaleBehavior extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StaleBehavior.Builder
A builder for
StaleBehavior |
static class |
StaleBehavior.Jsii$Proxy
An implementation for
StaleBehavior |
| Modifier and Type | Method and Description |
|---|---|
static StaleBehavior.Builder |
builder() |
default String |
getCloseMessage()
(experimental) The comment to add to the issue/PR when it's closed.
|
default Number |
getDaysBeforeClose()
(experimental) Days until the issue/PR is closed after it is marked as "Stale".
|
default Number |
getDaysBeforeStale()
(experimental) How many days until the issue or pull request is marked as "Stale".
|
default Boolean |
getEnabled()
(experimental) Determines if this behavior is enabled.
|
default String |
getStaleLabel()
(experimental) The label to apply to the issue/PR when it becomes stale.
|
default String |
getStaleMessage()
(experimental) The comment to add to the issue/PR when it becomes stale.
|
@Stability(value=Experimental) @Nullable default String getCloseMessage()
Default: "Closing this pull request as it hasn\'t seen activity for a while. Please add a comment
@Stability(value=Experimental) @Nullable default Number getDaysBeforeClose()
Set to -1 to disable.
Default: -
@Stability(value=Experimental) @Nullable default Number getDaysBeforeStale()
Set to -1 to disable.
Default: -
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Same as setting daysBeforeStale and daysBeforeClose to -1.
Default: true
@Stability(value=Experimental) @Nullable default String getStaleLabel()
Default: "Stale"
@Stability(value=Experimental) @Nullable default String getStaleMessage()
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."
@Stability(value=Experimental) static StaleBehavior.Builder builder()
StaleBehavior.Builder of StaleBehaviorCopyright © 2021. All rights reserved.