SystemProperties

Get systems properties prefixed with specs2

Companion:
object
class Object
trait Matchable
class Any
object SystemProperties.type

Value members

Concrete methods

def getIf[T](p: String, value: => T): Option[T]
Returns:

the value Some(T) if the property is defined

def getIfElse[T](p: String, v1: => T)(v2: => T): T
Returns:

the value Some(T) if the property is defined

def getOrElse(p: String, defaultValue: String): String
Returns:

the value of the system property p or a default value

def getProperty(p: String): Option[String]
Returns:

the value of the system property p

def getPropertyAs[T : FromString](p: String): Option[T]
Returns:

the value of the system property p as a given type

def isDefined(p: String): Boolean
Returns:

true if a property is defined

Concrete fields

val specs2Prefix: String