ConfigNull
@SerialVersionUID(2L) final class ConfigNull(origin: ConfigOrigin) extends AbstractConfigValue with Serializable
This exists because sometimes null is not the same as missing. Specifically,
if a value is set to null we can give a better error message (indicating
where it was set to null) in case someone asks for the value. Also, null
overrides values set "earlier" in the search path, while missing values do
not.
if a value is set to null we can give a better error message (indicating
where it was set to null) in case someone asks for the value. Also, null
overrides values set "earlier" in the search path, while missing values do
not.
trait Serializable
class AbstractConfigValue
trait MergeableValue
trait ConfigValue
trait ConfigMergeable
class Object
trait Matchable
class Any
Value members
Methods
override def render(sb: StringBuilder, indent: Int, atRoot: Boolean, options: ConfigRenderOptions): Unit
- Definition Classes
Inherited methods
@throws(scala.throws.$lessinit$greater$default$1[org.ekrich.config.impl.AbstractConfigValue.NotPossibleToResolve])
def resolveSubstitutions(context: ResolveContext, source: ResolveSource): ResolveResult[ <: AbstractConfigValue]
Called only by ResolveContext.resolve().
- Value Params
- context
-
state of the current resolve
- source
-
where to look up values
- Returns
-
a new value if there were changes, or this if no changes
- Inhertied from
- AbstractConfigValue