object System extends SystemPlatformSpecific with Serializable
- Alphabetic
- By Inheritance
- System
- Serializable
- SystemPlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def env(variable: => String)(implicit trace: Trace): IO[SecurityException, Option[String]]
Retrieves the value of an environment variable.
- def envOrElse(variable: => String, alt: => String)(implicit trace: Trace): IO[SecurityException, String]
Retrieves the value of an environment variable or else returns the specified fallback value.
- def envOrOption(variable: => String, alt: => Option[String])(implicit trace: Trace): IO[SecurityException, Option[String]]
Retrieves the value of an environment variable or else returns the specified optional fallback value.
- def envs(implicit trace: Trace): IO[SecurityException, Map[String, String]]
Retrieves the values of all environment variables.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lineSeparator(implicit trace: Trace): UIO[String]
Retrieves the value of the system-specific line separator.
- 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()
- lazy val os: OS
- def properties(implicit trace: Trace): Task[Map[String, String]]
Retrieves the values of all system properties.
- def property(prop: => String)(implicit trace: Trace): Task[Option[String]]
Retrieves the value of a system property.
- def propertyOrElse(prop: => String, alt: => String)(implicit trace: Trace): Task[String]
Retrieves the value of a system property or else return the specified fallback value.
- def propertyOrOption(prop: => String, alt: => Option[String])(implicit trace: Trace): Task[Option[String]]
Retrieves the value of a system property or else return the specified optional fallback value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tag: Tag[System]
- def toString(): String
- Definition Classes
- 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()
- object OS
- object SystemLive extends System