object OS extends Enumeration

OS-related functions, including OS type detection, user home directory resolver and etc.

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

Type Members

  1. class Val extends Value with Serializable
    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  2. abstract class Value extends Ordered[Value] with Serializable
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  3. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()

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 MacOS: Value
  5. val Unix: Value
  6. final def Value(i: Int, name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value(name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def Value(i: Int): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  9. final def Value: Value
    Attributes
    protected
    Definition Classes
    Enumeration
  10. val Windows: Value
  11. final def apply(x: Int): Value
    Definition Classes
    Enumeration
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. val cpuCount: Int
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def getOSType: Value

    Get host OS type

    Get host OS type

    returns

    Windows, Unix or MacOS

  19. def getShell: String
    Annotations
    @Deprecated
  20. def getShellCommands: Seq[String]
    Annotations
    @Deprecated
  21. def getUserHome: String

    Get user home directory path, i.e.

    Get user home directory path, i.e. ~

  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isWindows: Boolean
  25. final def maxId: Int
    Definition Classes
    Enumeration
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. var nextId: Int
    Attributes
    protected
    Definition Classes
    Enumeration
  28. var nextName: Iterator[String]
    Attributes
    protected
    Definition Classes
    Enumeration
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. def readResolve(): AnyRef
    Attributes
    protected
    Definition Classes
    Enumeration
  32. def shell(command: String): String
    Annotations
    @Deprecated
  33. def shellCommands(commands: Seq[String]): Seq[String]
    Annotations
    @Deprecated
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    Enumeration → AnyRef → Any
  36. def values: ValueSet
    Definition Classes
    Enumeration
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def withName(s: String): Value
    Definition Classes
    Enumeration
  41. implicit object ValueOrdering extends Ordering[Value]
    Definition Classes
    Enumeration

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Enumeration

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped