org.rogach.scallop

ToggleOption

case class ToggleOption(name: String, default: () ⇒ Option[Boolean], short: Option[Char], noshort: Boolean, prefix: String, descrYes: String, descrNo: String, hidden: Boolean) extends CliOption with Product with Serializable

Source
CliOptions.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, CliOption, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ToggleOption
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CliOption
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ToggleOption(name: String, default: () ⇒ Option[Boolean], short: Option[Char], noshort: Boolean, prefix: String, descrYes: String, descrNo: String, hidden: Boolean)

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 argLine(sh: List[Char]): String

    The line, that would be printed as definition of this arg in help.

    The line, that would be printed as definition of this arg in help.

    Definition Classes
    ToggleOptionCliOption
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def converter: ValueConverter[Boolean]

    Converter for pure string arguments to the needed type of this option.

    Converter for pure string arguments to the needed type of this option.

    Definition Classes
    ToggleOptionCliOption
  10. val default: () ⇒ Option[Boolean]

    Definition Classes
    ToggleOptionCliOption
  11. def descr: String

    Description for this option, that will be presented to the user

    Description for this option, that will be presented to the user

    Definition Classes
    ToggleOptionCliOption
  12. val descrNo: String

  13. val descrYes: String

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

    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  17. def helpInfo(sh: List[Char]): List[(String, String, None.type)]

    List of argument lines, descriptions to them, and optional default values.

    List of argument lines, descriptions to them, and optional default values.

    Definition Classes
    ToggleOptionCliOption
  18. val hidden: Boolean

    If true, then this option is not shown in help printout.

    If true, then this option is not shown in help printout.

    Definition Classes
    ToggleOptionCliOption
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def isPositional: Boolean

    Definition Classes
    ToggleOptionCliOption
  21. def longNames: List[String]

    Definition Classes
    ToggleOptionCliOption
  22. val name: String

    "Internal" name of this option - the one that would be used to access parsed values.

    "Internal" name of this option - the one that would be used to access parsed values.

    Definition Classes
    ToggleOptionCliOption
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. val noshort: Boolean

  25. final def notify(): Unit

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

    Definition Classes
    AnyRef
  27. val prefix: String

  28. def required: Boolean

    Is there a requirement to have at least one invocation of this option?

    Is there a requirement to have at least one invocation of this option?

    Definition Classes
    ToggleOptionCliOption
  29. def requiredShortNames: List[Char]

    Names, that were explicitly requested by the user

    Names, that were explicitly requested by the user

    Definition Classes
    ToggleOptionCliOption
  30. val short: Option[Char]

  31. def shortNames: List[Char]

    Short names, that are suggested by option implementation, not the user

    Short names, that are suggested by option implementation, not the user

    Definition Classes
    ToggleOptionCliOption
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def validator: (scala.reflect.api.JavaUniverse.TypeTag[_], Any) ⇒ Boolean

    Definition Classes
    ToggleOptionCliOption
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CliOption

Inherited from AnyRef

Inherited from Any

Ungrouped