Class/Object

org.scalajs.jsenv

RunConfig

Related Docs: object RunConfig | package jsenv

Permalink

final class RunConfig extends AnyRef

Configuration provided when starting a JSEnv.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val env: Map[String, String]

    Permalink

    Additional environment variables for this run.

    Additional environment variables for this run. How these are retrieved in the JS code run inside the JSEnv is completely up to the implementation, including whether:

    • they are implemented with system environment variables,
    • they share the same namespace than the system environment variables. However, in any case, the variables in env take precedence over any (explicitly or implicitly) ambiant environment vars. This is an optional feature; but JSEnvs are required to support an empty env.
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. val inheritError: Boolean

    Permalink

    Whether the error stream of the VM should be inherited.

    Whether the error stream of the VM should be inherited. The implementation may chose to redirect to the actual error stream of the parent JVM or simply scala.Console#err. If you set this value to false you must set onOutputStream.

  13. val inheritOutput: Boolean

    Permalink

    Whether the output stream of the VM should be inherited.

    Whether the output stream of the VM should be inherited. The implementation may chose to redirect to the actual output stream of the parent JVM or simply scala.Console#out. If you set this value to false you must set onOutputStream.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val logger: Logger

    Permalink

    The logger to use in the run.

    The logger to use in the run. A JSEnv is not required to log anything.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val onOutputStream: Option[OnOutputStream]

    Permalink

    Callback once output streams of the JS VM run become available.

    Callback once output streams of the JS VM run become available. The callback receives the output and the error stream of the VM if they are available. If inheritOutput or inheritError are set to true, the respective streams must be None, in the invocation of onOutputStream. Note however, that if onOutputStream is present, it must be invoked by the JS VM.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def withEnv(env: Map[String, String]): RunConfig

    Permalink
  26. def withInheritErr(inheritError: Boolean): RunConfig

    Permalink
  27. def withInheritOut(inheritOutput: Boolean): RunConfig

    Permalink
  28. def withLogger(logger: Logger): RunConfig

    Permalink
  29. def withOnOutputStream(onOutputStream: OnOutputStream): RunConfig

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped