o

laika.config

EmptyConfig

object EmptyConfig extends Config

An empty configuration instance.

Linear Supertypes
Config, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyConfig
  2. Config
  3. AnyRef
  4. 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 asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def get[T](key: Key)(implicit decoder: ConfigDecoder[T]): ConfigResult[T]

    Retrieve a required value for the specified key and decoder.

    Retrieve a required value for the specified key and decoder.

    Definition Classes
    EmptyConfigConfig
  10. def get[T](implicit decoder: ConfigDecoder[T], defaultKey: DefaultKey[T]): ConfigResult[T]

    Retrieve a required value for the specified implicit key and decoder.

    Retrieve a required value for the specified implicit key and decoder.

    A defaultKey can be used for commonly used configuration objects like AutonumberConfig that are expected to be mapped to a specific key, like autonumbering.

    Definition Classes
    Config
  11. def get[T](key: String, default: ⇒ T)(implicit decoder: ConfigDecoder[T]): ConfigResult[T]

    Retrieve an optional value for the specified key and decoder, falling back to the given default if the value is missing.

    Retrieve an optional value for the specified key and decoder, falling back to the given default if the value is missing.

    Definition Classes
    Config
  12. def get[T](key: Key, default: ⇒ T)(implicit decoder: ConfigDecoder[T]): ConfigResult[T]

    Retrieve an optional value for the specified key and decoder, falling back to the given default if the value is missing.

    Retrieve an optional value for the specified key and decoder, falling back to the given default if the value is missing.

    Definition Classes
    Config
  13. def get[T](key: String)(implicit decoder: ConfigDecoder[T]): ConfigResult[T]

    Retrieve a required value for the specified key and decoder.

    Retrieve a required value for the specified key and decoder.

    Definition Classes
    Config
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getOpt[T](key: String)(implicit decoder: ConfigDecoder[T]): ConfigResult[Option[T]]

    Retrieve an optional value for the specified key and decoder.

    Retrieve an optional value for the specified key and decoder. The result is still an Either as this method might still fail even if the value is present in case the decoding fails.

    Definition Classes
    Config
  16. def getOpt[T](implicit decoder: ConfigDecoder[T], defaultKey: DefaultKey[T]): ConfigResult[Option[T]]

    Retrieve an optional value for the specified implicit key and decoder.

    Retrieve an optional value for the specified implicit key and decoder.

    A defaultKey can be used for commonly used configuration objects like AutonumberConfig that are expected to be mapped to a specific key, like autonumbering.

    The result is still an Either as this method might still fail even if the value is present in case the decoding fails.

    Definition Classes
    Config
  17. def getOpt[T](key: Key)(implicit decoder: ConfigDecoder[T]): ConfigResult[Option[T]]

    Retrieve an optional value for the specified key and decoder.

    Retrieve an optional value for the specified key and decoder. The result is still an Either as this method might still fail even if the value is present in case the decoding fails.

    Definition Classes
    Config
  18. def hasKey(key: Key): Boolean

    Verifies whether this config instance contains a value mapped to the specified key.

    Verifies whether this config instance contains a value mapped to the specified key.

    Definition Classes
    EmptyConfigConfig
  19. def hasKey(key: String): Boolean

    Verifies whether this config instance contains a value mapped to the specified key.

    Verifies whether this config instance contains a value mapped to the specified key.

    Definition Classes
    Config
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val origin: Origin

    The origin of this configuration, which might come from programmatic configuration, a file in one of the input directories, a configuration header in a markup document or from an attribute section in a directive.

    The origin of this configuration, which might come from programmatic configuration, a file in one of the input directories, a configuration header in a markup document or from an attribute section in a directive.

    Definition Classes
    EmptyConfigConfig
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. def withFallback(other: Config): Config

    Returns a new configuration instance using the specified instance as a fallback for keys not found in this instance.

    Returns a new configuration instance using the specified instance as a fallback for keys not found in this instance.

    If this instance already has a fallback, the new fallback will be passed further down the chain.

    Definition Classes
    EmptyConfigConfig
  32. def withOrigin(newOrigin: Origin): Config

    Returns a new configuration instance using the specified origin.

    Returns a new configuration instance using the specified origin.

    Definition Classes
    EmptyConfigConfig
  33. def withValue[T](value: T)(implicit encoder: ConfigEncoder[T], defaultKey: DefaultKey[T]): ConfigBuilder

    Creates a new configuration builder with the specified value and this instance as a fallback.

    Creates a new configuration builder with the specified value and this instance as a fallback. The returned builder can be used to add further values before calling build to retrieve a new instance.

    Definition Classes
    Config
  34. def withValue[T](key: Key, value: T)(implicit encoder: ConfigEncoder[T]): ConfigBuilder

    Creates a new configuration builder with the specified value and this instance as a fallback.

    Creates a new configuration builder with the specified value and this instance as a fallback. The returned builder can be used to add further values before calling build to retrieve a new instance.

    Definition Classes
    Config
  35. def withValue[T](key: String, value: T)(implicit encoder: ConfigEncoder[T]): ConfigBuilder

    Creates a new configuration builder with the specified value and this instance as a fallback.

    Creates a new configuration builder with the specified value and this instance as a fallback. The returned builder can be used to add further values before calling build to retrieve a new instance.

    Definition Classes
    Config

Inherited from Config

Inherited from AnyRef

Inherited from Any

Ungrouped