Top Fields Constructors Methods
com.typesafe.config.impl

pack-priv final Class ConfigBoolean

extends AbstractConfigValue
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.ObjectStreamException, .Serializable, com.typesafe.config.ConfigOrigin, .ConfigValueType

Field Summary

Modifier and TypeField and Description
private static final long
private final boolean

Constructor Summary

AccessConstructor and Description
pack-priv
ConfigBoolean(ConfigOrigin origin, boolean value)

Method Summary

Modifier and TypeMethod and Description
protected ConfigBoolean
pack-priv String
public Boolean
unwrapped()

Implements com.typesafe.config.ConfigValue.unwrapped.

Returns the value as a plain Java boxed value, that is, a String, Number, Boolean, Map<String,Object>, List<Object>, or null, matching the valueType() of this ConfigValue.

public ConfigValueType
valueType()

Implements com.typesafe.config.ConfigValue.valueType.

The ConfigValueType of the value; matches the JSON type schema.

private Object
Inherited from com.typesafe.config.impl.AbstractConfigValue:
appendHiddenEnvVariableValueatKeyatKeyatPathatPathcanEqualconstructDelayedMergeequalshasDescendantInListhashCodehideEnvVariableValueignoresFallbacksindentmergedWithNonObjectmergedWithNonObjectmergedWithObjectmergedWithObjectmergedWithTheUnmergeablemergedWithTheUnmergeableoriginrelativizedrenderrenderrenderrenderreplaceChildInListrequireNotIgnoringFallbacksresolveStatusresolveSubstitutionstoFallbackValuetoStringwithFallbackwithFallbacksIgnoredwithOrigin

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
valueback to summary
private final boolean value

Constructor Detail

ConfigBooleanback to summary
pack-priv ConfigBoolean(ConfigOrigin origin, boolean value)

Method Detail

newCopyback to summary
protected ConfigBoolean newCopy(ConfigOrigin origin)

Implements abstract com.typesafe.config.impl.AbstractConfigValue.newCopy.

Annotations
@Override
transformToStringback to summary
pack-priv String transformToString()

Overrides com.typesafe.config.impl.AbstractConfigValue.transformToString.

Annotations
@Override
unwrappedback to summary
public Boolean unwrapped()

Implements com.typesafe.config.ConfigValue.unwrapped.

Doc from com.typesafe.config.ConfigValue.unwrapped.

Returns the value as a plain Java boxed value, that is, a String, Number, Boolean, Map<String,Object>, List<Object>, or null, matching the valueType() of this ConfigValue. If the value is a ConfigObject or ConfigList, it is recursively unwrapped.

Returns:Boolean

a plain Java value corresponding to this ConfigValue

Annotations
@Override
valueTypeback to summary
public ConfigValueType valueType()

Implements com.typesafe.config.ConfigValue.valueType.

Doc from com.typesafe.config.ConfigValue.valueType.

The ConfigValueType of the value; matches the JSON type schema.

Returns:ConfigValueType

value's type

Annotations
@Override
writeReplaceback to summary
private Object writeReplace() throws ObjectStreamException