com.typesafe.sslconfig.util

EnrichedConfig

class EnrichedConfig extends AnyRef

Based on PlayConfig, adds some helper methods over underlying Config.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EnrichedConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EnrichedConfig(underlying: Config)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get[A](path: String)(implicit loader: ConfigLoader[A]): A

    Get the config at the given path.

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getDeprecated[A](path: String, deprecated: String)(implicit arg0: ConfigLoader[A]): A

    Get a deprecated configuration item.

    Get a deprecated configuration item.

    If the deprecated configuration item is defined, it will be returned, and a warning will be logged.

    Otherwise, the configuration from path will be looked up.

  14. def getDeprecatedWithFallback(path: String, deprecated: String, parent: String = ""): EnrichedConfig

    Get a deprecated configuration.

    Get a deprecated configuration.

    If the deprecated configuration is defined, it will be returned, falling back to the new configuration, and a warning will be logged.

    Otherwise, the configuration from path will be looked up and used as is.

  15. def getOptional[A](path: String)(implicit arg0: ConfigLoader[A]): Option[A]

    Get an optional configuration item.

    Get an optional configuration item.

    If the value of the item is null, this will return None, otherwise returns Some.

    Exceptions thrown
    com.typesafe.config.ConfigException.Missing

    if the value is undefined (as opposed to null) this will still throw an exception.

  16. def getOptionalDeprecated[A](path: String, deprecated: String)(implicit arg0: ConfigLoader[A]): Option[A]

    Get an optional deprecated configuration item.

    Get an optional deprecated configuration item.

    If the deprecated configuration item is defined, it will be returned, and a warning will be logged.

    Otherwise, the configuration from path will be looked up.

    If the value of the item is null, this will return None, otherwise returns Some.

  17. def getPrototypedMap(path: String, prototypePath: String = "prototype.$path"): Map[String, EnrichedConfig]

    Get a prototyped map of objects.

    Get a prototyped map of objects.

    Each value in the map will fallback to the object loaded from prototype.$path.

  18. def getPrototypedSeq(path: String, prototypePath: String = "prototype.$path"): Seq[EnrichedConfig]

    Get a prototyped sequence of objects.

    Get a prototyped sequence of objects.

    Each object in the sequence will fallback to the object loaded from prototype.$path.

  19. def getSeq[A](path: String)(implicit loader: ConfigLoader[Seq[A]]): Seq[A]

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def reportDeprecation(path: String, deprecated: String): Unit

  26. def reportError(path: String, message: String, e: Option[Throwable] = None): Throwable

    Creates a configuration error for a specific configuration key.

    Creates a configuration error for a specific configuration key.

    For example:

    val configuration = Configuration.load()
    throw configuration.reportError("engine.connectionUrl", "Cannot connect!")
    path

    the configuration key, related to this error

    message

    the error message

    e

    the related exception

    returns

    a configuration exception

  27. def subKeys: Set[String]

    Get the immediate subkeys of this configuration.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. val underlying: Config

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped