Package com.emc.documentum.rest.config

# Enum Class MessageBundle

java.lang.Object
java.lang.Enum<MessageBundle>
com.emc.documentum.rest.config.MessageBundle

All Implemented Interfaces:
  `Serializable`, `Comparable<MessageBundle>`, `Constable`

public enum MessageBundle extends Enum<MessageBundle>
The message bundle which loads all available properties files from 'classpath*:com/emc/documentum/rest/messages/rest-*messages*.properties'

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `INSTANCE`
  The singleton instance of the message bundle.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `get(String code, Object... args)`
  Return the property value associated with the given code, and optional arguments
  `String`
  `get(String code, Locale locale, Object... args)`
  Return the property value associated with the given code, locale, and optional arguments
  `void`
  `reload()`
  `static MessageBundle`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static MessageBundle[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

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

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

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

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### INSTANCE

    public static final MessageBundle INSTANCE
    The singleton instance of the message bundle.

- ## Method Details

  - ### values

    public static MessageBundle[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static MessageBundle valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
    Parameters:
      `name` - the name of the enum constant to be returned.
    Returns:
      the enum constant with the specified name
    Throws:
      `IllegalArgumentException` - if this enum class has no constant with the specified name
      `NullPointerException` - if the argument is null

  - ### reload

    public void reload()

  - ### get

    public String get(String code, Object... args)
    Return the property value associated with the given code, and optional arguments
    Parameters:
      `code` - the message code
      `args` - the message arguments
    Returns:
      the property value
    See Also:
      - `get(String, java.util.Locale, Object...)`

  - ### get

    public String get(String code, Locale locale, Object... args)
    Return the property value associated with the given code, locale, and optional arguments
    Parameters:
      `code` - the message code
      `locale` - the locale of the message
      `args` - the message arguments
    Returns:
      the property value
    See Also:
      - `get(String, Object...)`