Package org.core.schedule
Interface SchedulerBuilder
public interface SchedulerBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondefault SchedulerDeprecated.buildDelayed(@NotNull Plugin plugin)buildRepeating(@NotNull Plugin plugin)getDelay()booleanisAsync()default SchedulerBuildersetAsync(boolean check)setDelayUnit(TimeUnit unit)setDisplayName(String displayName)setIteration(Integer value)setIterationUnit(TimeUnit unit)default SchedulerBuildersetToRunAfter(Scheduler scheduler)setToRunAfter(Scheduler scheduler, boolean maintainIfAsync)default SchedulerBuilderboolean
-
Method Details
-
getDelay
-
setDelay
-
getDelayUnit
-
setDelayUnit
-
getIteration
-
setIteration
-
getIterationUnit
-
setIterationUnit
-
getRunner
-
setRunner
-
getToRunAfter
-
setToRunAfter
-
setToRunAfter
-
willMaintainScheduleIfAsync
boolean willMaintainScheduleIfAsync() -
getDisplayName
-
setDisplayName
-
isAsync
boolean isAsync() -
setAsync
-
build
Deprecated. -
buildDelayed
-
buildRepeating
-
useTicksForDelay
-
removeDelay
-