case class CommandLine(_arguments: Seq[String] = Seq()) extends ShowArgs with Product with Serializable
Command-line arguments
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandLine
- Serializable
- Product
- Equals
- ShowArgs
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommandLine(_arguments: Seq[String] = Seq())
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _arguments: Seq[String]
- def arguments: Seq[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bool(name: String): Option[Boolean]
- def boolOr(name: String, defaultValue: Boolean): Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contains(a: String): Boolean
- def directory(name: String): Option[DirectoryPath]
- def directoryOr(name: String, defaultValue: DirectoryPath): DirectoryPath
- def double(name: String): Option[Double]
- def doubleOr(name: String, defaultValue: Double): Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def file(name: String): Option[FilePath]
- def fileOr(name: String, defaultValue: FilePath): FilePath
- def filter(included: String*): CommandLine
- def filterNot(excluded: String*): CommandLine
- def float(name: String): Option[Float]
- def floatOr(name: String, defaultValue: Float): Float
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def int(name: String): Option[Int]
- def intOr(name: String, defaultValue: Int): Int
- def isDefined(name: String): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSet(name: String): Boolean
- returns
true if a specific string is present in the list of arguments from the command line or if an attribute with that name (and any value) has been defined
- def long(name: String): Option[Long]
- def longOr(name: String, defaultValue: Long): Long
- def map(name: String): Option[Map[String, String]]
- def mapOr(name: String, defaultValue: Map[String, String]): Map[String, String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def overrideWith(other: CommandLine): CommandLine
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def showArg(a: (String, Option[_])): Option[String]
- Definition Classes
- ShowArgs
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- CommandLine → AnyRef → Any
- def value(name: String): Option[String]
- returns
the value for a given attribute attribute names and values are defined in a positional way where an attribute name is always succeeded with an attribute value. For example: name1 value1 name2 value2 values can also be retrieved from system properties set with the regular jvm syntax
-Dname=value
- def valueOr(name: String, defaultValue: String): String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated