Packages

class Args extends Serializable

Encapsulate parsed commandline arguments.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Args
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(key: String): String

    Shortcut for required.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asMap: Map[String, List[String]]

    All arguments as a map.

  7. def boolean(key: String): Boolean

    Get value as Boolean.

  8. def boolean(key: String, default: Boolean): Boolean

    Get value as Boolean with a default.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def double(key: String): Double

    Get value as Double.

  11. def double(key: String, default: Double): Double

    Get value as Double with a default.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean
    Definition Classes
    Args → AnyRef → Any
  14. def float(key: String): Float

    Get value as Float.

  15. def float(key: String, default: Float): Float

    Get value as Float with a default.

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getOrElse(key: String, default: => String): String

    Shortcut for optional(key).getOrElse(default).

  18. def hashCode(): Int
    Definition Classes
    Args → AnyRef → Any
  19. def int(key: String): Int

    Get value as Int.

  20. def int(key: String, default: Int): Int

    Get value as Int with a default.

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def list(key: String): List[String]

    Get the list of values for a given key.

  23. def long(key: String): Long

    Get value as Long.

  24. def long(key: String, default: Long): Long

    Get value as Long with a default.

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def optional(key: String): Option[String]

    Get an Option if there is zero or one element for a given key.

  29. def required(key: String): String

    Get exactly one value for a given key.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Args → AnyRef → Any
  32. def toString(start: String, sep: String, end: String): String
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped