Class

com.twitter.util.Config

Nothing

Related Doc: package Config

Permalink

class Nothing extends Config[scala.Nothing]

Config classes that don't produce anything via an apply() method can extends Config.Nothing, and still get access to the Required classes and methods.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Nothing
  2. Config
  3. Function0
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Nothing()

    Permalink

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. def apply(): scala.Nothing

    Permalink
    Definition Classes
    Nothing → Function0
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def computed[A](f: ⇒ A): Required[A]

    Permalink

    The same as specifying required[A] with a default value, but the intent to the use is slightly different.

    The same as specifying required[A] with a default value, but the intent to the use is slightly different.

    Definition Classes
    Config
  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. implicit def fromRequired[A](req: Required[A]): A

    Permalink
    Definition Classes
    Config
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. implicit def intoList[A](item: A): List[A]

    Permalink
    Definition Classes
    Config
  15. implicit def intoOption[A](item: A): Option[A]

    Permalink
    Definition Classes
    Config
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. lazy val memoized: scala.Nothing

    Permalink

    a lazy singleton of the configured class.

    a lazy singleton of the configured class. Allows one to pass the Config around to multiple classes without producing multiple configured instances

    Definition Classes
    Config
  18. def missingValues: Seq[String]

    Permalink

    Looks for any fields that are Required but currently Unspecified, in this object and in any child Config objects, and returns the names of those missing values.

    Looks for any fields that are Required but currently Unspecified, in this object and in any child Config objects, and returns the names of those missing values. For missing values in child Config objects, the name is the dot-separated path down to that value.

    Definition Classes
    Config
    Note

    as of Scala 2.12 the returned values are not always correct. See ConfigTest for an example.

  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. def optional[A](default: ⇒ A): Required[Option[A]]

    Permalink
    Definition Classes
    Config
  23. def optional[A]: Required[Option[A]]

    Permalink
    Definition Classes
    Config
  24. def required[A](default: ⇒ A): Required[A]

    Permalink
    Definition Classes
    Config
  25. def required[A]: Required[A]

    Permalink
    Definition Classes
    Config
  26. def specified[A](value: A): Specified[A]

    Permalink

    a non-lazy way to create a Specified that can be called from java

    a non-lazy way to create a Specified that can be called from java

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

    Permalink
    Definition Classes
    AnyRef
  28. implicit def toSpecified[A](value: ⇒ A): Specified[A]

    Permalink
    Definition Classes
    Config
  29. implicit def toSpecifiedOption[A](value: ⇒ A): Specified[Some[A]]

    Permalink
    Definition Classes
    Config
  30. def toString(): String

    Permalink
    Definition Classes
    Function0 → AnyRef → Any
  31. def validate(): Unit

    Permalink

    Definition Classes
    Config
    Exceptions thrown

    RequiredValuesMissing if there are any missing values.

  32. final def wait(): Unit

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

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

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

Inherited from Config[scala.Nothing]

Inherited from () ⇒ scala.Nothing

Inherited from AnyRef

Inherited from Any

Ungrouped