Package io.github.cdklabs.projen.github
Class StaleBehavior.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.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 forStaleBehavior
-
-
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.StaleBehavior
StaleBehavior.Builder, StaleBehavior.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StaleBehavior.Builder builder)Constructor that initializes the object based on literal property values passed by theStaleBehavior.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)StringgetCloseMessage()(experimental) The comment to add to the issue/PR when it's closed.NumbergetDaysBeforeClose()(experimental) Days until the issue/PR is closed after it is marked as "Stale".NumbergetDaysBeforeStale()(experimental) How many days until the issue or pull request is marked as "Stale".BooleangetEnabled()(experimental) Determines if this behavior is enabled.List<String>getExemptLabels()(experimental) Label which exempt an issue/PR from becoming stale.StringgetStaleLabel()(experimental) The label to apply to the issue/PR when it becomes stale.StringgetStaleMessage()(experimental) The comment to add to the issue/PR when it becomes stale.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(StaleBehavior.Builder builder)
Constructor that initializes the object based on literal property values passed by theStaleBehavior.Builder.
-
-
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:
getCloseMessagein interfaceStaleBehavior
-
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:
getDaysBeforeClosein interfaceStaleBehavior
-
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:
getDaysBeforeStalein interfaceStaleBehavior
-
getEnabled
public final Boolean getEnabled()
Description copied from interface:StaleBehavior(experimental) Determines if this behavior is enabled.Same as setting
daysBeforeStaleanddaysBeforeCloseto-1.Default: true
- Specified by:
getEnabledin interfaceStaleBehavior
-
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:
getExemptLabelsin interfaceStaleBehavior
-
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:
getStaleLabelin interfaceStaleBehavior
-
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:
getStaleMessagein interfaceStaleBehavior
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-