Packages

object ConfigKey

Source
ConfigKey.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. ConfigKey
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def apply(description: => String): ConfigKey

    Returns a new ConfigKey with the specified description.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. implicit final val configKeyEq: Eq[ConfigKey]

  8. implicit final val configKeyShow: Show[ConfigKey]

  9. final def env(name: String): ConfigKey

    Returns a new ConfigKey for the specified environment variable.

    Returns a new ConfigKey for the specified environment variable.

    Example:
    1. scala> val apiKey = ConfigKey.env("API_KEY")
      apiKey: ConfigKey = ConfigKey(environment variable API_KEY)
      
      scala> apiKey.description
      res0: String = environment variable API_KEY
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def file(path: Path, charset: Charset): ConfigKey

    Returns a new ConfigKey for the specified path and charset.

  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def prop(name: String): ConfigKey

    Returns a new ConfigKey for the specified system property.

    Returns a new ConfigKey for the specified system property.

    Example:
    1. scala> val apiKey = ConfigKey.prop("api.key")
      apiKey: ConfigKey = ConfigKey(system property api.key)
      
      scala> apiKey.description
      res0: String = system property api.key
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def unapply(key: ConfigKey): Some[String]

    Returns the description for the specified ConfigKey.

    Returns the description for the specified ConfigKey.

    This function enables pattern matching on ConfigKeys.

    Example:
    1. scala> val apiKey = ConfigKey.env("API_KEY")
      apiKey: ConfigKey = ConfigKey(environment variable API_KEY)
      
      scala> apiKey match { case ConfigKey(description) => description }
      res0: String = environment variable API_KEY
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Creating Instances

Type Class Instances

Ungrouped