com.twitter.app

Flag

class Flag[T] extends AnyRef

A single flag, typically instantiated by a com.twitter.app.Flags instance. Its current value is extracted with apply().

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Flag
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Flag(help: String, default: T)(implicit arg0: Flaggable[T])

  2. new Flag(name: String, help: String, default: T)(implicit arg0: Flaggable[T])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(): T

    Return this flag's current value.

    Return this flag's current value. The default value is returned when the flag has not otherwise been set.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val default: T

  10. def defaultString: String

    String representation of this flag's default value

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. val flaggable: Flaggable[T]

    Attributes
    protected
  15. def get: Option[T]

    Get the value if it has been set

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

    Definition Classes
    AnyRef → Any
  17. def getValue: Option[T]

    Attributes
    protected
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. val help: String

  20. def isDefined: Boolean

    True if the flag has been set

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. val name: String

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def noArgumentOk: Boolean

  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def parse(): Unit

    Parse this flag with no argument.

  28. def parse(raw: String): Unit

    Parse value raw into this flag.

  29. def reset(): Unit

    Reset this flag's value

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped