Object

mimir.util

ExperimentalOptions

Related Doc: package util

Permalink

object ExperimentalOptions

Utilities for globally enabling or disabling experimental configuration options. Usually configuration should happen either in a test case, or in the startup process of whatever UI is being used (e.g., Mimir.scala for command line opts)

Within the code, use either isEnabled, or ifEnabled to branch based on the specific experimental option.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExperimentalOptions
  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. def disable(options: GenTraversableOnce[String]): Unit

    Permalink

    Disable a set of options

  7. def disable(option: String): Unit

    Permalink

    Disable one experimental option

  8. def enable(options: GenTraversableOnce[String]): Unit

    Permalink

    Enable a set of options

  9. def enable(option: String): Unit

    Permalink

    Enable one experimental option

  10. var enabled: Set[String]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def ifEnabled[A](opt: String, thenCmd: () ⇒ A, elseCmd: () ⇒ A): A

    Permalink

    Branch depending on whether an option is enabled

  17. def ifEnabled[A](opt: String, cmd: () ⇒ A): Option[A]

    Permalink

    Execute code iff an option is enabled

  18. def isEnabled(option: String): Boolean

    Permalink

    Test whether an option is enabled

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withEnabled[A](options: GenTraversableOnce[String], cmd: () ⇒ A): A

    Permalink

    For unit tests ONLY: Execute a block of code with options enabled

Inherited from AnyRef

Inherited from Any

Ungrouped