Package org.bgerp.app.exec.scheduler

# 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 Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDayOfMonth()`
  `String`
  `getDayOfWeek()`
  `String`
  `getHour()`
  `String`
  `getId()`
  `Duration`
  `getLastRunDuration()`
  `Date`
  `getLastRunStart()`
  `String`
  `getMinute()`
  `String`
  `getMonth()`
  `String`
  `getNotRunnableState()`
  `String`
  `getTitle()`
  `boolean`
  `isEnabled()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`