case class CommonOptions(workingDirectory: String = System.getProperty("user.dir"), out: PrintStream = System.out, in: InputStream = System.in, err: PrintStream = System.err, ngout: PrintStream = System.out, ngerr: PrintStream = System.err, env: PrettyProperties = CommonOptions.currentEnv) extends Product with Serializable
Describes the common options for any command or CLI operation.
They exist for two purposes: testing and nailgun. In both cases we need a precise handling of these parameters because they change depending on the environment we're running on.
They are hidden because they are optional.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommonOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CommonOptions(workingDirectory: String = System.getProperty("user.dir"), out: PrintStream = System.out, in: InputStream = System.in, err: PrintStream = System.err, ngout: PrintStream = System.out, ngerr: PrintStream = System.err, env: PrettyProperties = CommonOptions.currentEnv)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val env: PrettyProperties
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val err: PrintStream
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val in: InputStream
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val ngerr: PrintStream
- val ngout: PrintStream
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val out: PrintStream
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )
- val workingDirectory: String
- def workingPath: AbsolutePath