Class/Object

org.ekrich.config

ConfigResolveOptions

Related Docs: object ConfigResolveOptions | package config

Permalink

final class ConfigResolveOptions extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigResolveOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allowUnresolved: Boolean

    Permalink
  5. def appendResolver(value: ConfigResolver): ConfigResolveOptions

    Permalink

    Returns options where the given resolver used as a fallback if a reference cannot be otherwise resolved.

    Returns options where the given resolver used as a fallback if a reference cannot be otherwise resolved. This resolver will only be called after resolution has failed to substitute with a value from within the config itself and with any other resolvers that have been appended before this one. Multiple resolvers can be added using,

        ConfigResolveOptions options = ConfigResolveOptions.defaults()
            .appendResolver(primary)
            .appendResolver(secondary)
            .appendResolver(tertiary);
    

    With this config unresolved references will first be resolved with the primary resolver, if that fails then the secondary, and finally if that also fails the tertiary.

    If all fallbacks fail to return a substitution "allow unresolved" determines whether resolution fails or continues.

    value

    the resolver to fall back to

    returns

    options that use the given resolver as a fallback

    Since

    1.3.2

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getAllowUnresolved: Boolean

    Permalink

    Returns whether the options allow unresolved substitutions.

    Returns whether the options allow unresolved substitutions. This method is mostly used by the config lib internally, not by applications.

    returns

    true if unresolved substitutions are allowed

    Since

    1.2.0

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getResolver: ConfigResolver

    Permalink

    Returns the resolver to use as a fallback if a substitution cannot be otherwise resolved.

    Returns the resolver to use as a fallback if a substitution cannot be otherwise resolved. Never returns null. This method is mostly used by the config lib internally, not by applications.

    returns

    the non-null fallback resolver

    Since

    1.3.2

  14. def getUseSystemEnvironment: Boolean

    Permalink

    Returns whether the options enable use of system environment variables.

    Returns whether the options enable use of system environment variables. This method is mostly used by the config lib internally, not by applications.

    returns

    true if environment variables should be used

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val resolver: ConfigResolver

    Permalink
  21. def setAllowUnresolved(value: Boolean): ConfigResolveOptions

    Permalink

    Returns options with "allow unresolved" set to the given value.

    Returns options with "allow unresolved" set to the given value. By default, unresolved substitutions are an error. If unresolved substitutions are allowed, then a future attempt to use the unresolved value may fail, but Config.resolve(ConfigResolveOptions) itself will not throw.

    value

    true to silently ignore unresolved substitutions.

    returns

    options with requested setting for whether to allow substitutions

    Since

    1.2.0

  22. def setUseSystemEnvironment(value: Boolean): ConfigResolveOptions

    Permalink

    Returns options with use of environment variables set to the given value.

    Returns options with use of environment variables set to the given value.

    value

    true to resolve substitutions falling back to environment variables.

    returns

    options with requested setting for use of environment variables

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. val useSystemEnvironment: Boolean

    Permalink
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped