Package dev.inmo.krontab.builder

Types

DaysOfMonthBuilder
Link copied to clipboard
common
class DaysOfMonthBuilder : TimeBuilder<Byte>
HoursBuilder
Link copied to clipboard
common
class HoursBuilder : TimeBuilder<Byte>
MinutesBuilder
Link copied to clipboard
common
class MinutesBuilder : TimeBuilder<Byte>
MonthsBuilder
Link copied to clipboard
common
class MonthsBuilder : TimeBuilder<Byte>
SchedulerBuilder
Link copied to clipboard
common
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
common
class SecondsBuilder : TimeBuilder<Byte>
TimeBuilder
Link copied to clipboard
common
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
common
class WeekDaysBuilder : TimeBuilder<Byte>
YearsBuilder
Link copied to clipboard
common
class YearsBuilder : TimeBuilder<Int>

Functions

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

Will help to create an instance of KronScheduler