Package io.github.cdklabs.projen
Class Renovatebot.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.Renovatebot.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Renovatebot>
- Enclosing class:
- Renovatebot
@Stability(Experimental) public static final class Renovatebot.Builder extends Object implements software.amazon.jsii.Builder<Renovatebot>
(experimental) A fluent builder forRenovatebot.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Renovatebotbuild()static Renovatebot.Buildercreate(Project project)Renovatebot.Builderignore(List<String> ignore)(experimental) You can use theignoreoption to customize which dependencies are updated.Renovatebot.BuilderignoreProjen(Boolean ignoreProjen)(experimental) Ignores updates toprojen.Renovatebot.Builderlabels(List<String> labels)(experimental) List of labels to apply to the created PR's.Renovatebot.Buildermarker(Boolean marker)Renovatebot.BuilderoverrideConfig(Object overrideConfig)Renovatebot.BuilderscheduleInterval(List<String> scheduleInterval)(experimental) How often to check for new versions and raise pull requests.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Renovatebot.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
Renovatebot.Builder.
-
ignore
@Stability(Experimental) public Renovatebot.Builder ignore(List<String> ignore)
(experimental) You can use theignoreoption to customize which dependencies are updated.The ignore option supports just package name.
Default: []
- Parameters:
ignore- You can use theignoreoption to customize which dependencies are updated. This parameter is required.- Returns:
this
-
ignoreProjen
@Stability(Experimental) public Renovatebot.Builder ignoreProjen(Boolean ignoreProjen)
(experimental) Ignores updates toprojen.This is required since projen updates may cause changes in committed files and anti-tamper checks will fail.
Projen upgrades are covered through the
ProjenUpgradeclass.Default: true
- Parameters:
ignoreProjen- Ignores updates toprojen. This parameter is required.- Returns:
this
-
labels
@Stability(Experimental) public Renovatebot.Builder labels(List<String> labels)
(experimental) List of labels to apply to the created PR's.- Parameters:
labels- List of labels to apply to the created PR's. This parameter is required.- Returns:
this
-
marker
@Stability(Experimental) public Renovatebot.Builder marker(Boolean marker)
- Parameters:
marker- This parameter is required.- Returns:
this
-
overrideConfig
@Stability(Experimental) public Renovatebot.Builder overrideConfig(Object overrideConfig)
- Parameters:
overrideConfig- This parameter is required.- Returns:
this
-
scheduleInterval
@Stability(Experimental) public Renovatebot.Builder scheduleInterval(List<String> scheduleInterval)
(experimental) How often to check for new versions and raise pull requests.Can be given in CRON or LATER format, and use multiple schedules (e.g. different for weekdays and weekends). Multiple rules are handles as OR.
Some normal scheduling values defined in enum
RenovatebotScheduleInterval.Default: ["at any time"]
- Parameters:
scheduleInterval- How often to check for new versions and raise pull requests. This parameter is required.- Returns:
this- See Also:
- https://docs.renovatebot.com/configuration-options/#schedule
-
build
@Stability(Experimental) public Renovatebot build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Renovatebot>- Returns:
- a newly built instance of
Renovatebot.
-
-