Package io.typeflows.github.dependabot
Class Cooldown
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class Cooldown extends Base implements Renderable<Map<String, Any>>
Represents cooldown periods for different types of Dependabot updates.
This class allows you to configure minimum waiting periods between updates based on semantic version changes (major, minor, patch) to prevent excessive update frequency and reduce notification noise.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCooldown.DSLpublic classCooldown.Companion
-
Field Summary
Fields Modifier and Type Field Description public final IntegersemverMajorpublic final IntegersemverMinorpublic final IntegersemverPatchpublic final List<String>excludepublic final static Cooldown.CompanionCompanion
-
Method Summary
-
-
Method Detail
-
create
@JvmOverloads() final static Cooldown create(Configure<Cooldown.DSL> block)
Creates and configures a Cooldown instance.
- Parameters:
block- Configuration lambda to set up the cooldown periods- Returns:
Configured Cooldown instance
-
create
@JvmOverloads() final static Cooldown create()
Creates and configures a Cooldown instance.
- Returns:
Configured Cooldown instance
-
-
-
-