Class WeeklyWithSeveralDaysScheduling
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.scheduler.DailyScheduling
-
- jetbrains.buildServer.buildTriggers.scheduler.WeeklyWithSeveralDaysScheduling
-
- All Implemented Interfaces:
SchedulingPolicy
public class WeeklyWithSeveralDaysScheduling extends DailyScheduling
-
-
Constructor Summary
Constructors Constructor Description WeeklyWithSeveralDaysScheduling(Time time, List<Integer> daysOfWeek)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<Integer>
getDaysByNames(String daysOfWeek)
String
getDescription()
long
getScheduledTime(long time)
Computes next time for the trigger relative to the time specified in param.
-
-
-
Method Detail
-
getScheduledTime
public long getScheduledTime(long time)
Description copied from interface:SchedulingPolicy
Computes next time for the trigger relative to the time specified in param.- Specified by:
getScheduledTime
in interfaceSchedulingPolicy
- Overrides:
getScheduledTime
in classDailyScheduling
- Parameters:
time
- relative moment in time- Returns:
java time
for next event or-1
if there would be no more events
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceSchedulingPolicy
- Overrides:
getDescription
in classDailyScheduling
-
-