final class Environment extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Environment
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Environment(dataDirectory: Path, cacheDirectory: Path, preferencesDirectory: Path)
- new Environment(dataDirectory: Path, cacheDirectory: Path, preferencesDirectory: Path, workingDirectory: Path, homeDirectory: Path, standardOutput: PrintStream, standardError: PrintStream, standardInput: BufferedReader, systemProperties: Properties, exit: (Int) => Nothing, environmentVariables: Map[String, String], clock: Clock, console: Console)
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
- val cacheDirectory: Path
- def canEqual(obj: Any): Boolean
- Definition Classes
- Environment → Equals
- val clock: Clock
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val console: Console
- val dataDirectory: Path
- val environmentVariables: Map[String, String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- Environment → Equals → AnyRef → Any
- val exit: (Int) => Nothing
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Environment → AnyRef → Any
- val homeDirectory: Path
- val isCI: Boolean
- val isColorEnabled: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isProgressBarEnabled: Boolean
- def isSettingPresent(key: String): Boolean
Returns true if the key is defined in the environment variables or system properties, regardless of value.
- def isSettingTrue(key: String): Boolean
Returns true if the key has is equal to "true" in environment variables or system properties.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val preferencesDirectory: Path
- def productArity: Int
- Definition Classes
- Environment → Product
- def productElement(n: Int): Any
- Definition Classes
- Environment → Product
- def productElementName(n: Int): String
- Definition Classes
- Environment → Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Environment → Product
- val standardError: PrintStream
- val standardInput: BufferedReader
- val standardOutput: PrintStream
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val systemProperties: Properties
- def toString(): String
- Definition Classes
- Environment → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withCacheDirectory(cacheDirectory: Path): Environment
- def withClock(clock: Clock): Environment
- def withConsole(console: Console): Environment
- def withDataDirectory(dataDirectory: Path): Environment
- def withEnvironmentVariables(environmentVariables: Map[String, String]): Environment
- def withExit(exit: (Int) => Nothing): Environment
- def withHomeDirectory(homeDirectory: Path): Environment
- def withPreferencesDirectory(preferencesDirectory: Path): Environment
- def withProjectDirectories(dirs: ProjectDirectories): Environment
- def withStandardError(standardError: PrintStream): Environment
- def withStandardInput(standardInput: BufferedReader): Environment
- def withStandardOutput(standardOutput: PrintStream): Environment
- def withSystemProperties(systemProperties: Properties): Environment
- def withWorkingDirectory(workingDirectory: Path): Environment
- val workingDirectory: Path