Class/Object

org.ekrich.config.impl

SimpleConfigOrigin

Related Docs: object SimpleConfigOrigin | package impl

Permalink

final class SimpleConfigOrigin extends ConfigOrigin

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

Instance Constructors

  1. new SimpleConfigOrigin(_description: String, _lineNumber: Int, endLineNumber: Int, originType: OriginType, urlOrNull: String, resourceOrNull: String, commentsOrNull: List[String])

    Permalink
    Attributes
    protected

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 _description: String

    Permalink
  5. val _lineNumber: Int

    Permalink
  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. def comments: List[String]

    Permalink

    Returns any comments that appeared to "go with" this place in the file.

    Returns any comments that appeared to "go with" this place in the file. Often an empty list, but never null. The details of this are subject to change, but at the moment comments that are immediately before an array element or object field, with no blank line after the comment, "go with" that element or field.

    returns

    any comments that seemed to "go with" this origin, empty list if none

    Definition Classes
    SimpleConfigOriginConfigOrigin
  9. val commentsOrNull: List[String]

    Permalink
  10. def description: String

    Permalink

    Returns a string describing the origin of a value or exception.

    Returns a string describing the origin of a value or exception. This will never return null.

    returns

    string describing the origin

    Definition Classes
    SimpleConfigOriginConfigOrigin
  11. val endLineNumber: Int

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

    Permalink
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    SimpleConfigOrigin → AnyRef → Any
  14. def filename: String

    Permalink

    Returns a filename describing the origin.

    Returns a filename describing the origin. This will return null if the origin was not a file.

    returns

    filename of the origin or null

    Definition Classes
    SimpleConfigOriginConfigOrigin
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. def lineNumber: Int

    Permalink

    Returns a line number where the value or exception originated.

    Returns a line number where the value or exception originated. This will return -1 if there's no meaningful line number.

    returns

    line number or -1 if none is available

    Definition Classes
    SimpleConfigOriginConfigOrigin
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val originType: OriginType

    Permalink
  24. def resource: String

    Permalink

    Returns a classpath resource name describing the origin.

    Returns a classpath resource name describing the origin. This will return null if the origin was not a classpath resource.

    returns

    resource name of the origin or null

    Definition Classes
    SimpleConfigOriginConfigOrigin
  25. val resourceOrNull: String

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

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

    Permalink
    Definition Classes
    SimpleConfigOrigin → AnyRef → Any
  28. def url: URL

    Permalink

    Returns a URL describing the origin.

    Returns a URL describing the origin. This will return null if the origin has no meaningful URL.

    returns

    url of the origin or null

    Definition Classes
    SimpleConfigOriginConfigOrigin
  29. val urlOrNull: String

    Permalink
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withComments(comments: List[String]): SimpleConfigOrigin

    Permalink

    Returns a ConfigOrigin based on this one, but with the given comments.

    Returns a ConfigOrigin based on this one, but with the given comments. Does not modify this instance or any ConfigValues with this origin (since they are immutable). To set the returned origin to a ConfigValue, use ConfigValue#withOrigin.

    Note that when the given comments are equal to the comments on this object, a new instance may not be created and this is returned directly.

    comments

    the comments used on the returned origin

    returns

    the ConfigOrigin with the given comments

    Definition Classes
    SimpleConfigOriginConfigOrigin
    Since

    1.3.0

  34. def withLineNumber(lineNumber: Int): SimpleConfigOrigin

    Permalink

    Returns a ConfigOrigin based on this one, but with the given line number.

    Returns a ConfigOrigin based on this one, but with the given line number. This origin must be a FILE, URL or RESOURCE. Does not modify this instance or any ConfigValues with this origin (since they are immutable). To set the returned origin to a ConfigValue, use ConfigValue#withOrigin.

    Note that when the given lineNumber are equal to the lineNumber on this object, a new instance may not be created and this is returned directly.

    lineNumber

    the new line number

    returns

    the created ConfigOrigin

    Definition Classes
    SimpleConfigOriginConfigOrigin
    Since

    1.3.0

Inherited from ConfigOrigin

Inherited from AnyRef

Inherited from Any

Ungrouped