Trait

agora.config

RichConfigOps

Related Doc: package config

Permalink

trait RichConfigOps extends LowPriorityImplicits

Provider operations on a 'config'

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

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

Abstract Value Members

  1. abstract def config: Config

    Permalink

Concrete 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. def asDuration(key: String): Duration

    Permalink

    key

    the configuration path

    returns

    the value at the given key as a scala duration

  5. def asFiniteDuration(key: String): FiniteDuration

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. 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

  8. implicit def asRichConfig(c: Config): RichConfig

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def collectAsMap: Map[String, String]

    Permalink
  11. def collectAsStrings: List[(String, String)]

    Permalink
  12. def describe(implicit opts: ConfigRenderOptions = concise().setFormatted(true)): String

    Permalink
  13. def entries: Set[Entry[String, ConfigValue]]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  17. def finalize(): Unit

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

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

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

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def json: String

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
  27. def origins: List[URL]

    Permalink

    returns

    a sorted list of the origins from when the config values come

  28. def pathRoots: List[String]

    Permalink
  29. def paths: List[String]

    Permalink
  30. def show(options: ConfigRenderOptions = ...): Option[String]

    Permalink

    If 'show=X' specified, configuration values which contain X in their path.

    If 'show=X' specified, configuration values which contain X in their path.

    If 'X' is 'all' or 'root', then the entire configuration is rendered.

    This can be useful to debug other command-line args (to ensure they take the desired effect) or to validate the environment variable replacement

    returns

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

  31. def summary(pathFilter: (String) ⇒ Boolean = _ => true): List[StringEntry]

    Permalink

    Return a property-like summary of the config using the pathFilter to trim property entries

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

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

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

    Permalink
  35. 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

  36. final def wait(): Unit

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

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

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

    Permalink
  40. def withPaths(first: String, theRest: String*): Config

    Permalink
  41. 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

  42. def without(paths: TraversableOnce[String]): Config

    Permalink
  43. def without(firstPath: String, theRest: String*): Config

    Permalink
  44. def without(other: Config): Config

    Permalink
  45. def withoutSystem: Config

    Permalink

    this config w/o the system props and stuff

Inherited from LowPriorityImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped