Enum Class SystemUtils.OperatingSystem

java.lang.Object
java.lang.Enum<SystemUtils.OperatingSystem>
org.tquadrat.foundation.util.SystemUtils.OperatingSystem
All Implemented Interfaces:
Serializable, Comparable<SystemUtils.OperatingSystem>, Constable
Enclosing class:
SystemUtils

@ClassVersion(sourceVersion="$Id: SystemUtils.java 1136 2024-05-30 18:25:38Z tquadrat $") @API(status=STABLE, since="0.0.6") public static enum SystemUtils.OperatingSystem extends Enum<SystemUtils.OperatingSystem>
The operating system families that are supported (or not) by Java.

Currently, we can distinguish only between Microsoft Windows, UNIX/Linux and MacOX/OS-X.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: SystemUtils.java 1136 2024-05-30 18:25:38Z tquadrat $
Since:
0.0.6
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.util.SystemUtils.OperatingSystem"

UML Diagram for "org.tquadrat.foundation.util.SystemUtils.OperatingSystem"

UML Diagram for "org.tquadrat.foundation.util.SystemUtils.OperatingSystem"
  • Enum Constant Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • values Link icon

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getArchitecture Link icon

      public final String getArchitecture()
      Returns the operating system architecture.
      Returns:
      The architecture.
    • getName Link icon

      public final String getName()
      Returns the name of the operating system.
      Returns:
      The operating system name.
    • getNameVersion Link icon

      public final String getNameVersion()
      Returns the name of the operating system.
      Returns:
      The operating system name.
    • getVersion Link icon

      public final String getVersion()
      Returns the version of the operating system.
      Returns:
      The version of the operating system.