Package org.bgerp.model.process.config

# Class ProcessPriorityConfig

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.model.process.config.ProcessPriorityConfig

public class ProcessPriorityConfig 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`
  `ProcessPriorityConfig(ConfigMap config)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SortedMap<Integer,String>`
  `getPriorityColors()`
  `String`
  `getPriorityDescription(int value)`
  Provides a description for a given priority

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

  - ### ProcessPriorityConfig

    protected ProcessPriorityConfig(ConfigMap config)

- ## Method Details

  - ### getPriorityColors

    public SortedMap<Integer,String> getPriorityColors()
    Returns:
      map with key process priority and value hex color string.

  - ### getPriorityDescription

    public String getPriorityDescription(int value)
    Provides a description for a given priority
    Parameters:
      `value` - the priority
    Returns:
      the description, can be `null`