Class TaskConfig

java.lang.Object
org.bgerp.app.exec.scheduler.TaskConfig
All Implemented Interfaces:
Id<String>, IdTitle<String>, Title

public class TaskConfig extends Object implements IdTitle<String>
Scheduled task configuration.
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface Id<String>
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Title
    • getMinute

      public String getMinute()
    • getHour

      public String getHour()
    • getDayOfMonth

      public String getDayOfMonth()
    • getMonth

      public String getMonth()
    • getDayOfWeek

      public String getDayOfWeek()
    • isEnabled

      public boolean isEnabled()
    • getNotRunnableState

      public String getNotRunnableState()
      Returns:
      null if the task can be run, or the state, preventing that.
    • getLastRunStart

      public Date getLastRunStart()
    • getLastRunDuration

      public Duration getLastRunDuration()
    • toString

      public String toString()
      Overrides:
      toString in class Object