Class TaskConfig
java.lang.Object
org.bgerp.app.exec.scheduler.TaskConfig
-
Method Summary
Modifier and TypeMethodDescriptionCron schedule day of month field.Cron schedule day of week field.getHour()Cron schedule hours field.getId()Last run duration.Last run start time.Cron schedule minutes field.getMonth()Cron schedule month field.State preventing the task from running.getTitle()booleanWhether the task is enabled.toString()
-
Method Details
-
getId
-
getTitle
-
getMinute
-
getHour
-
getDayOfMonth
-
getMonth
-
getDayOfWeek
-
isEnabled
public boolean isEnabled()Whether the task is enabled.- Returns:
- is the task enabled
-
getNotRunnableState
State preventing the task from running.- Returns:
nullif the task can be run, or the state, preventing that
-
getLastRunStart
Last run start time.- Returns:
- last run start time, or
nullif never run
-
getLastRunDuration
Last run duration.- Returns:
- last run duration, or
nullif never run
-
toString
-