Package org.core.schedule
Interface SchedulerBuilder
public interface SchedulerBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondefault Scheduler
Deprecated.buildDelayed(@NotNull Plugin plugin)
buildRepeating(@NotNull Plugin plugin)
getDelay()
boolean
isAsync()
default SchedulerBuilder
setAsync(boolean check)
setDelayUnit(TimeUnit unit)
setDisplayName(String displayName)
setIteration(Integer value)
setIterationUnit(TimeUnit unit)
default SchedulerBuilder
setToRunAfter(Scheduler scheduler)
setToRunAfter(Scheduler scheduler, boolean maintainIfAsync)
default SchedulerBuilder
boolean
-
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
-