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 String
getDescription()
long
getScheduledTime(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:
getDescription
in interfaceSchedulingPolicy
-
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
- Parameters:
time
- relative moment in time- Returns:
java time
for next event or-1
if there would be no more events
-
-