Package dev.inmo.krontab.builder

Types

DaysOfMonthBuilder
Link copied to clipboard
class DaysOfMonthBuilder : TimeBuilder<Byte>
HoursBuilder
Link copied to clipboard
class HoursBuilder : TimeBuilder<Byte>
MinutesBuilder
Link copied to clipboard
class MinutesBuilder : TimeBuilder<Byte>
MonthsBuilder
Link copied to clipboard
class MonthsBuilder : TimeBuilder<Byte>
SchedulerBuilder
Link copied to clipboard
class SchedulerBuilder(seconds: Array<Byte>?, minutes: Array<Byte>?, hours: Array<Byte>?, dayOfMonth: Array<Byte>?, month: Array<Byte>?, year: Array<Int>?, dayOfWeek: Array<Byte>?, offset: Minutes?)
SecondsBuilder
Link copied to clipboard
class SecondsBuilder : TimeBuilder<Byte>
TimeBuilder
Link copied to clipboard
sealed class TimeBuilder<T : Number>

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

WeekDaysBuilder
Link copied to clipboard
class WeekDaysBuilder : TimeBuilder<Byte>
YearsBuilder
Link copied to clipboard
class YearsBuilder : TimeBuilder<Int>

Functions

buildSchedule
Link copied to clipboard
fun buildSchedule(settingsBlock: SchedulerBuilder.() -> Unit): KronScheduler
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz

Will help to create an instance of KronScheduler