Class/Object

jabroni.domain

RichConfig

Related Docs: object RichConfig | package domain

Permalink

class RichConfig extends RichConfigOps

Adds some scala utility around a typesafe config

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichConfig
  2. RichConfigOps
  3. LowPriorityImplicits
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichConfig(config: Config)

    Permalink

Type Members

  1. implicit class RichArgs extends AnyRef

    Permalink
    Definition Classes
    LowPriorityImplicits
  2. implicit class RichMap extends AnyRef

    Permalink
    Definition Classes
    LowPriorityImplicits
  3. implicit class RichString extends AnyRef

    Permalink
    Definition Classes
    LowPriorityImplicits

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asList(path: String, separator: Option[String] = Option(",")): List[String]

    Permalink

    produces a scala list, either from a StringList or a comma-separated string value

    produces a scala list, either from a StringList or a comma-separated string value

    path

    the config path

    separator

    if specified, the value at the given path will be parsed if it is a string and not a stringlist

    Definition Classes
    RichConfigOps
  6. implicit def asRichConfig(c: Config): RichConfig

    Permalink
    Definition Classes
    LowPriorityImplicits
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val config: Config

    Permalink
    Definition Classes
    RichConfigRichConfigOps
  9. def describe(implicit opts: ConfigRenderOptions = ...): String

    Permalink
    Definition Classes
    RichConfigOps
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def filterNot(path: (String) ⇒ Boolean): Config

    Permalink
    Definition Classes
    RichConfigOps
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def intersect(other: Config): Config

    Permalink
    Definition Classes
    RichConfigOps
  17. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def or(other: Config): Config

    Permalink
    Definition Classes
    RichConfigOps
  22. def pathRoots: Set[String]

    Permalink
    Definition Classes
    RichConfigOps
  23. def paths: Set[String]

    Permalink
    Definition Classes
    RichConfigOps
  24. def show(options: ConfigRenderOptions = ...): Option[String]

    Permalink

    If 'show' specified, either by just 'show' on its own or 'show=path.to.config.or.value', then this will return the configuration at that path

    If 'show' specified, either by just 'show' on its own or 'show=path.to.config.or.value', then this will return the configuration at that path

    returns

    the optional value of what's pointed to if 'show=<path>' is specified

    Definition Classes
    RichConfigOps
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def unique: Config

    Permalink
    Definition Classes
    RichConfigOps
  28. def uniquePaths: List[String]

    Permalink

    And example which uses most of the below stuff to showcase what this is for Note : writing a 'diff' using this would be pretty straight forward

    And example which uses most of the below stuff to showcase what this is for Note : writing a 'diff' using this would be pretty straight forward

    Definition Classes
    RichConfigOps
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withPaths(paths: Set[String]): Config

    Permalink
    Definition Classes
    RichConfigOps
  33. def withPaths(first: String, theRest: String*): Config

    Permalink
    Definition Classes
    RichConfigOps
  34. def withUserArgs(args: Array[String], unrecognizedArg: (String) ⇒ Config = ParseArg.Throw): Config

    Permalink

    args

    the user arguments in the form <key>=<value>, <filePath> or <fileOnTheClasspath>

    unrecognizedArg

    what to do with malformed user input

    returns

    a configuration with the given user-argument overrides applied over top

    Definition Classes
    RichConfigOps
  35. def without(paths: TraversableOnce[String]): Config

    Permalink
    Definition Classes
    RichConfigOps
  36. def without(firstPath: String, theRest: String*): Config

    Permalink
    Definition Classes
    RichConfigOps
  37. def without(other: Config): Config

    Permalink
    Definition Classes
    RichConfigOps
  38. def withoutSystem: Config

    Permalink

    this config w/o the system props and stuff

    this config w/o the system props and stuff

    Definition Classes
    RichConfigOps

Inherited from RichConfigOps

Inherited from LowPriorityImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped