org
.
specs2
.
main
CommandLine
Related Docs:
object CommandLine
|
package main
case class
CommandLine
(
_arguments:
Seq
[
String
] =
Seq()
)
extends
ShowArgs
with
Product
with
Serializable
Command-line arguments
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ShowArgs
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
CommandLine
Serializable
Serializable
Product
Equals
ShowArgs
AnyRef
Any
Hide All
Show all
Visibility
Public
All
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[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
float
(
name:
String
)
:
Option
[
Float
]
def
floatOr
(
name:
String
,
defaultValue:
Float
)
:
Float
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
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 switch is present or a flag is 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
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
overrideWith
(
other:
CommandLine
)
:
CommandLine
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
]
def
valueOr
(
name:
String
,
defaultValue:
String
)
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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
ShowArgs
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Command-line arguments