Packages

object System extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. System
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait OS extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val any: ZLayer[Has[System], Nothing, Has[System]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def env(variable: => String)(implicit trace: ZTraceElement): ZIO[Has[System], SecurityException, Option[String]]

    Retrieves the value of an environment variable.

  8. def envOrElse(variable: => String, alt: => String)(implicit trace: ZTraceElement): ZIO[Has[System], SecurityException, String]

    Retrieves the value of an environment variable or else returns the specified fallback value.

  9. def envOrOption(variable: => String, alt: => Option[String])(implicit trace: ZTraceElement): ZIO[Has[System], SecurityException, Option[String]]

    Retrieves the value of an environment variable or else returns the specified optional fallback value.

  10. def envs(implicit trace: ZTraceElement): ZIO[Has[System], SecurityException, Map[String, String]]

    Retrieves the values of all environment variables.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def lineSeparator(implicit trace: ZTraceElement): URIO[Has[System], String]

    Retrieves the value of the system-specific line separator.

  18. val live: Layer[Nothing, Has[System]]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. lazy val os: OS
  23. def properties(implicit trace: ZTraceElement): ZIO[Has[System], Throwable, Map[String, String]]

    Retrieves the values of all system properties.

  24. def property(prop: => String)(implicit trace: ZTraceElement): ZIO[Has[System], Throwable, Option[String]]

    Retrieves the value of a system property.

  25. def propertyOrElse(prop: => String, alt: => String)(implicit trace: ZTraceElement): RIO[Has[System], String]

    Retrieves the value of a system property or else return the specified fallback value.

  26. def propertyOrOption(prop: => String, alt: => Option[String])(implicit trace: ZTraceElement): ZIO[Has[System], Throwable, Option[String]]

    Retrieves the value of a system property or else return the specified optional fallback value.

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. object OS
  33. object SystemLive extends System

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped