Class DailyScheduling
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.scheduler.DailyScheduling
-
- All Implemented Interfaces:
SchedulingPolicy
- Direct Known Subclasses:
WeeklyScheduling,WeeklyWithSeveralDaysScheduling
public class DailyScheduling extends Object implements SchedulingPolicy
-
-
Constructor Summary
Constructors Constructor Description DailyScheduling(Time time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()longgetScheduledTime(long time)Computes next time for the trigger relative to the time specified in param.
-
-
-
Constructor Detail
-
DailyScheduling
public DailyScheduling(@NotNull Time time)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSchedulingPolicy
-
getScheduledTime
public long getScheduledTime(long time)
Description copied from interface:SchedulingPolicyComputes next time for the trigger relative to the time specified in param.- Specified by:
getScheduledTimein interfaceSchedulingPolicy- Parameters:
time- relative moment in time- Returns:
java timefor next event or-1if there would be no more events
-
-