Interface IDmsSchedulerTaskBuilder
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
Builder for creating or modifying scheduler tasks.
public interface IDmsSchedulerTaskBuilder
- Extension Methods
Methods
- AddAction(IDmsSchedulerAction)
Adds an action to the task.
- AddFinalAction(IDmsSchedulerAction)
Adds a final action to the task.
- Build()
Builds the task.
- RemoveAction(IDmsSchedulerAction)
Removes an action from the task.
- RemoveDayOfMonth(int)
Removes a day of the month.
- RemoveDayOfWeek(DmsSchedulerDayOfWeek)
Removes a day of the week.
- RemoveFinalAction(IDmsSchedulerAction)
Removes a final action from the task.
- RemoveMonthOfYear(DmsSchedulerMonthOfYear)
Removes a month of the year.
- WithActions(IEnumerable<IDmsSchedulerAction>)
Sets the actions associated with this task.
- WithDaysOfMonth(IEnumerable<int>)
Sets the days of the month on which the task is scheduled to run.
- WithDaysOfWeek(IEnumerable<DmsSchedulerDayOfWeek>)
Sets the days of the week on which the task is scheduled to run.
- WithDescription(string)
Sets the description.
- WithEndTime(DateTime)
Sets the end time.
- WithFinalActions(IEnumerable<IDmsSchedulerAction>)
Sets the final actions associated with this task.
- WithIsEnabled(bool)
Sets whether the task is enabled.
- WithMonthsOfYear(IEnumerable<DmsSchedulerMonthOfYear>)
Sets the months of the year on which the task is scheduled to run.
- WithRepetitionInterval(string)
Sets the repetition interval.
- WithRepetitionIntervalInMinutes(string)
Sets the repetition interval in minutes.
- WithRepetitionType(DmsSchedulerRepetitionType)
Sets the repetition type.
- WithRepetitions(int)
Sets the number of repetitions.
- WithStartTime(DateTime)
Sets the start time.
- WithTaskName(string)
Sets the task name.