Class MonthlyNthDayConfig
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefines the day in a month on which the trigger should fire.getMonth()Defines the months on which the trigger should fire.voidsetDayInMonth(Integer monthlyNDay) Defines the day in a month on which the trigger should fire.voidDefines the months on which the trigger should fire.Methods inherited from class net.datenwerke.scheduler.service.scheduler.triggers.complex.config.DateTriggerConfig
getAtTime, getDailyRepeatType, getEndType, getFirstExecution, getId, getLastExecution, getNumberOfExecutions, getTimeRangeEnd, getTimeRangeInterval, getTimeRangeStart, getTimeRangeUnit, getVersion, setAtTime, setAtTime, setDailyRepeatType, setEndType, setFirstExecution, setId, setLastExecution, setNumberOfExecutions, setTimeRangeEnd, setTimeRangeInterval, setTimeRangeStart, setTimeRangeUnit, setVersion
-
Constructor Details
-
MonthlyNthDayConfig
public MonthlyNthDayConfig()
-
-
Method Details
-
getDayInMonth
Defines the day in a month on which the trigger should fire.Only applies if
SeriesConfigurationForm.SeriesPatternis set toSeriesConfigurationForm.SeriesPattern.MONTHLY -
setDayInMonth
Defines the day in a month on which the trigger should fire.Only applies if
SeriesConfigurationForm.SeriesPatternis set toSeriesConfigurationForm.SeriesPattern.MONTHLY- Parameters:
monthlyNDay-
-
getMonth
Defines the months on which the trigger should fire.Only applies if
SeriesConfigurationForm.SeriesPatternis set toSeriesConfigurationForm.SeriesPattern.MONTHLYandSeriesConfigurationForm.SeriesSubPatternis set toSeriesConfigurationForm.SeriesSubPattern.MONTHLY_Nth_DAY_Mth_MONTHExample: On the 5th (
setDayInMonth(Integer)) of every 2nd month (getMontlyM); -
setMonth
Defines the months on which the trigger should fire.Only applies if
SeriesConfigurationForm.SeriesPatternis set toSeriesConfigurationForm.SeriesPattern.MONTHLYandSeriesConfigurationForm.SeriesSubPatternis set toSeriesConfigurationForm.SeriesSubPattern.MONTHLY_Nth_DAY_Mth_MONTHExample: On the 5th (
setDayInMonth(Integer)) of every 2nd month (getMontlyM);- Parameters:
monthlyM-
-