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. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allowUnresolved: Boolean
  5. def appendResolver(value: ConfigResolver): ConfigResolveOptions

    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
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def getAllowUnresolved: Boolean

    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

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def getResolver: ConfigResolver

    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

  13. def getUseSystemEnvironment: Boolean

    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

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. val resolver: ConfigResolver
  20. def setAllowUnresolved(value: Boolean): ConfigResolveOptions

    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

  21. def setUseSystemEnvironment(value: Boolean): ConfigResolveOptions

    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

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. val useSystemEnvironment: Boolean
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped