Package org.bgerp.app.exec.scheduler

# Class TasksConfig

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.app.exec.scheduler.TasksConfig

public class TasksConfig extends Config

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.bgerp.app.cfg.Config

  `Config.InitStopException`

- ## Field Summary

  ### Fields inherited from class org.bgerp.app.cfg.Config

  `EMPTY, log`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `TasksConfig(ConfigMap config)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TaskConfig`
  `getTaskConfigOrThrow(String id)`
  Get a task configuration by ID
  `List<TaskConfig>`
  `getTaskConfigs()`

  ### Methods inherited from class org.bgerp.app.cfg.Config

  `initWhen, throwValidationException`

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

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

- ## Constructor Details

  - ### TasksConfig

    protected TasksConfig(ConfigMap config)

- ## Method Details

  - ### getTaskConfigs

    public List<TaskConfig> getTaskConfigs()
    Returns:
      configured to run tasks

  - ### getTaskConfigOrThrow

    public TaskConfig getTaskConfigOrThrow(String id) throws javassist.NotFoundException
    Get a task configuration by ID
    Parameters:
      `id` - the ID
    Returns:
      a first found configuration
    Throws:
      `javassist.NotFoundException`