SystemProperties

org.specs2.main.SystemProperties
See theSystemProperties companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

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

Attributes

Returns

the value Some(T) if the property is defined

Inherited from:
SystemProperties
def getIfElse[T](p: String, v1: => T)(v2: => T): T

Attributes

Returns

the value Some(T) if the property is defined

Inherited from:
SystemProperties
def getOrElse(p: String, defaultValue: String): String

Attributes

Returns

the value of the system property p or a default value

Inherited from:
SystemProperties
def getProperty(p: String): Option[String]

Attributes

Returns

the value of the system property p

Inherited from:
SystemProperties
def getPropertyAs[T](p: String)(using evidence$1: FromString[T]): Option[T]

Attributes

Returns

the value of the system property p as a given type

Inherited from:
SystemProperties
def isDefined(p: String): Boolean

Attributes

Returns

true if a property is defined

Inherited from:
SystemProperties

Inherited fields

val specs2Prefix: String

Attributes

Inherited from:
SystemProperties