trait Builder extends AnyRef
A Config builder providing a DSL for retireving and modifying configs.
- Annotations
- @deprecated
- Deprecated
(Since version 2017/07/13) Use pureconfig for loading the root object and then manipulate domain objects directly
- Alphabetic
- By Inheritance
- Builder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
config: Config
The built config.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withOverrides(overrides: (String, Any), moreOverrides: (String, Any)*): Builder
Returns a new builder with some settings overridden.
Returns a new builder with some settings overridden. The provided settings must exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- overrides
a setting to override in the current config as a key-value pair
- moreOverrides
additional settings to override in the current config as key-value pairs
- returns
a new builder with the given settings overridden.
-
def
withOverrides(overrides: String): Builder
Returns a new builder with some settings overridden.
Returns a new builder with some settings overridden. The provided settings must exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- overrides
the settings to override in the current config as a parseable config
- returns
a new builder with the given settings overridden.
-
def
withOverrides(overrides: Config): Builder
Returns a new builder with some settings overridden.
Returns a new builder with some settings overridden. The provided settings must exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- overrides
the settings to override in the current config
- returns
a new builder with the given settings overridden.
-
def
withSettings(settings: (String, Any), moreSettings: (String, Any)*): Builder
Returns a new builder with some additional settings.
Returns a new builder with some additional settings. The provided settings must not exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- settings
a setting to add to the current config as a key-value pair
- moreSettings
additional settings to add to the current config as key-value pairs
- returns
a new builder with the given settings added.
-
def
withSettings(settings: String): Builder
Returns a new builder with some additional settings.
Returns a new builder with some additional settings. The provided settings must not exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- settings
the settings to add to the current config as a parseable config
- returns
a new builder with the given settings added.
-
def
withSettings(settings: Config): Builder
Returns a new builder with some additional settings.
Returns a new builder with some additional settings. The provided settings must not exist in the currently built config; otherwise, a
ConfigFactory.ValidationFailedis thrown.- settings
the settings to add to the current config
- returns
a new builder with the given settings added.