package system
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- system
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
env(variable: ⇒ String): ZIO[System, SecurityException, Option[String]]
Retrieves the value of an environment variable.
-
def
envOrElse(variable: String, alt: ⇒ String): ZIO[System, SecurityException, String]
Retrieves the value of an environment variable or else returns the specified fallback value.
-
def
envOrOption(variable: String, alt: ⇒ Option[String]): ZIO[System, SecurityException, Option[String]]
Retrieves the value of an environment variable or else returns the specified optional fallback value.
-
val
envs: ZIO[System, SecurityException, Map[String, String]]
Retrieves the values of all environment variables.
-
val
lineSeparator: URIO[System, String]
Retrieves the value of the system-specific line separator.
-
val
properties: ZIO[System, Throwable, Map[String, String]]
Retrieves the values of all system properties.
-
def
property(prop: ⇒ String): ZIO[System, Throwable, Option[String]]
Retrieves the value of a system property.
-
def
propertyOrElse(prop: String, alt: ⇒ String): RIO[System, String]
Retrieves the value of a system property or else return the specified fallback value.
-
def
propertyOrOption(prop: String, alt: ⇒ Option[String]): ZIO[System, Throwable, Option[String]]
Retrieves the value of a system property or else return the specified optional fallback value.
- object System extends Serializable