com.enonic.xp.scheduler.ScheduleCalendar Maven / Gradle / Ivy
The newest version!
package com.enonic.xp.scheduler;
import java.io.Serializable;
import java.time.Duration;
import java.time.Instant;
import java.util.Optional;
import com.enonic.xp.annotation.PublicApi;
@PublicApi
public interface ScheduleCalendar
extends Serializable
{
Optional nextExecution( Instant instant );
@Deprecated
Optional nextExecution();
ScheduleCalendarType getType();
}