Package io.typeflows.github.dependabot
Class DepdendabotSchedule
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class DepdendabotSchedule extends Base implements Renderable<Map<String, Any>>
Represents the scheduling configuration for Dependabot updates.
This class defines when and how often Dependabot should check for and create dependency updates, including the update interval, specific day/time, and timezone settings for precise scheduling control.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDepdendabotSchedule.DSLpublic classDepdendabotSchedule.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ScheduleIntervalintervalpublic final DayOfWeekdaypublic final LocalTimetimepublic final ZoneIdtimezonepublic final static DepdendabotSchedule.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final ScheduleIntervalgetInterval()Map<String, Object>render()final static DepdendabotSchedulecreate(ScheduleInterval interval, Configure<DepdendabotSchedule.DSL> block)Creates and configures a DepdendabotSchedule instance. final static DepdendabotSchedulecreate(ScheduleInterval interval)Creates and configures a DepdendabotSchedule instance. -
-
Method Detail
-
getInterval
final ScheduleInterval getInterval()
-
create
@JvmOverloads() final static DepdendabotSchedule create(ScheduleInterval interval, Configure<DepdendabotSchedule.DSL> block)
Creates and configures a DepdendabotSchedule instance.
- Parameters:
interval- The update interval (daily, weekly, monthly)block- Configuration lambda to set up the schedule details- Returns:
Configured DepdendabotSchedule instance
-
create
@JvmOverloads() final static DepdendabotSchedule create(ScheduleInterval interval)
Creates and configures a DepdendabotSchedule instance.
- Parameters:
interval- The update interval (daily, weekly, monthly)- Returns:
Configured DepdendabotSchedule instance
-
-
-
-