implicit final class EnhancedConfigReader[T] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnhancedConfigReader
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EnhancedConfigReader(configReader: ConfigReader[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyDeprecations(implicit elc: ErrorLoggingContext, deprecatedFieldsFor: DeprecatedFieldsFor[T]): ConfigReader[T]
Applies a list of deprecation fallbacks to the configReader
Applies a list of deprecation fallbacks to the configReader
- returns
config reader with fallbacks applied
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val configReader: ConfigReader[T]
- def deprecateConfigPath[V](deprecated: DeprecatedConfigPath[_])(implicit elc: ErrorLoggingContext): ConfigReader[T]
Log a deprecation message for config values that are deprecated
- def deprecateConfigType(deprecated: DeprecatedRawConfigType)(implicit elc: ErrorLoggingContext): ConfigReader[T]
Deprecate a typesafe config type that was used to parse the value but is now deprecated.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def moveDeprecatedField(from: String, to: Seq[String])(implicit elc: ErrorLoggingContext): ConfigReader[T]
Moves the value at 'from' to 'to' if 'to' is not already set, and removes 'from' from the config.
Moves the value at 'from' to 'to' if 'to' is not already set, and removes 'from' from the config.
- from
path to the deprecated field. e.g: "path.to.deprecated.field"
- to
string path to the new field. e.g: "path.to.new.field"
- returns
config reader with fallback values from the deprecated fields
- def toString(): String
- Definition Classes
- Any