org.rogach.scallop

SimpleOption

case class SimpleOption(name: String, short: Option[Char], descr: String, required: Boolean, converter: org.rogach.scallop.ValueConverter[_], default: Option[Any], validator: (Manifest[_], Any) ⇒ Boolean, argName: String, hidden: Boolean, noshort: 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. Hide All
  2. Show all
  1. SimpleOption
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CliOption
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleOption(name: String, short: Option[Char], descr: String, required: Boolean, converter: org.rogach.scallop.ValueConverter[_], default: Option[Any], validator: (Manifest[_], Any) ⇒ Boolean, argName: String, hidden: Boolean, noshort: 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
    SimpleOptionCliOption
  7. val argName: String

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(arg0: Any): Boolean

    Definition Classes
    SimpleOption → Equals
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val converter: org.rogach.scallop.ValueConverter[_]

    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
    SimpleOptionCliOption
  12. val default: Option[Any]

    Definition Classes
    SimpleOptionCliOption
  13. val 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
    SimpleOptionCliOption
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    SimpleOption → Equals → AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def format(s: Seq[String]): List[String]

    Attributes
    protected
    Definition Classes
    CliOption
  18. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    SimpleOption → AnyRef → Any
  20. def help(sh: List[Char]): List[String]

    The full text of definition+description for this arg, as it will appear in options help.

    The full text of definition+description for this arg, as it will appear in options help.

    Definition Classes
    CliOption
  21. 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
    SimpleOptionCliOption
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isPositional: Boolean

    Definition Classes
    SimpleOptionCliOption
  24. def longNames: List[String]

    Definition Classes
    SimpleOptionCliOption
  25. 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
    SimpleOptionCliOption
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. val noshort: Boolean

  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. def productArity: Int

    Definition Classes
    SimpleOption → Product
  31. def productElement(arg0: Int): Any

    Definition Classes
    SimpleOption → Product
  32. def productIterator: Iterator[Any]

    Definition Classes
    Product
  33. def productPrefix: String

    Definition Classes
    SimpleOption → Product
  34. val 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
    SimpleOptionCliOption
  35. def requiredShortNames: List[Char]

    Names, that were explicitly requested by the user

    Names, that were explicitly requested by the user

    Definition Classes
    SimpleOptionCliOption
  36. val short: Option[Char]

  37. 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
    SimpleOptionCliOption
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    SimpleOption → AnyRef → Any
  40. val validator: (Manifest[_], Any) ⇒ Boolean

    Definition Classes
    SimpleOptionCliOption
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CliOption

Inherited from AnyRef

Inherited from Any