Class/Object

org.ekrich.config

ConfigRenderOptions

Related Docs: object ConfigRenderOptions | package config

Permalink

final class ConfigRenderOptions extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigRenderOptions
  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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val comments: Boolean

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val formatted: Boolean

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getComments: Boolean

    Permalink

    Returns whether the options enable comments.

    Returns whether the options enable comments. This method is mostly used by the config lib internally, not by applications.

    returns

    true if comments should be rendered

  13. def getFormatted: Boolean

    Permalink

    Returns whether the options enable formatting.

    Returns whether the options enable formatting. This method is mostly used by the config lib internally, not by applications.

    returns

    true if the options enable formatting

  14. def getJson: Boolean

    Permalink

    Returns whether the options enable JSON.

    Returns whether the options enable JSON. This method is mostly used by the config lib internally, not by applications.

    returns

    true if only JSON should be rendered

  15. def getOriginComments: Boolean

    Permalink

    Returns whether the options enable automated origin comments.

    Returns whether the options enable automated origin comments. This method is mostly used by the config lib internally, not by applications.

    returns

    true if origin comments should be rendered

  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. val json: Boolean

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val originComments: Boolean

    Permalink
  23. def setComments(value: Boolean): ConfigRenderOptions

    Permalink

    Returns options with comments toggled.

    Returns options with comments toggled. This controls human-written comments but not the autogenerated "origin of this setting" comments, which are controlled by ConfigRenderOptions#setOriginComments.

    value

    true to include comments in the render

    returns

    options with requested setting for comments

  24. def setFormatted(value: Boolean): ConfigRenderOptions

    Permalink

    Returns options with formatting toggled.

    Returns options with formatting toggled. Formatting means indentation and whitespace, enabling formatting makes things prettier but larger.

    value

    true to enable formatting

    returns

    options with requested setting for formatting

  25. def setJson(value: Boolean): ConfigRenderOptions

    Permalink

    Returns options with JSON toggled.

    Returns options with JSON toggled. JSON means that HOCON extensions (omitting commas, quotes for example) won't be used. However, whether to use comments is controlled by the separate #setComments and #setOriginComments options. So if you enable comments you will get invalid JSON despite setting this to true.

    value

    true to include non-JSON extensions in the render

    returns

    options with requested setting for JSON

  26. def setOriginComments(value: Boolean): ConfigRenderOptions

    Permalink

    Returns options with origin comments toggled.

    Returns options with origin comments toggled. If this is enabled, the library generates comments for each setting based on the ConfigValue#origin of that setting's value. For example these comments might tell you which file a setting comes from.

    setOriginComments(Boolean) controls only these autogenerated "origin of this setting" comments, to toggle regular comments use ConfigRenderOptions#setComments.

    value

    true to include autogenerated setting-origin comments in the render

    returns

    options with origin comments toggled

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

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

    Permalink
    Definition Classes
    ConfigRenderOptions → AnyRef → Any
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped