Class OperatingSystems.Families

java.lang.Object
dev.hydraulic.types.machines.OperatingSystems.Families
Enclosing class:
OperatingSystems

public static class OperatingSystems.Families extends Object
Various groupings of well known operating systems useful for compatibility testing purposes.
  • Method Details

    • unix

      public static Set<OperatingSystem> unix()
      Returns a set containing all the known operating systems that are generally considered to be source compatible with UNIX operating systems. It isn't related to whether something is formally UNIX certified, has a POSIX compliance layer (e.g. Cygwin) or uses a UNIX core. Therefore, Linux and macOS are considered UNIX but Android, ChromeOS and iOS are not.
    • apple

      public static Set<OperatingSystem> apple()
      Returns a set containing all the known operating systems that are created by Apple. These operating systems are not necessarily source compatible with each other, but they do all derive from a common NeXTStep root.
    • linuxKernelBased

      public static Set<OperatingSystem> linuxKernelBased()
      Returns a set containing all the known operating systems that use a Linux kernel, regardless of whether you can compile normal Linux software on them. This currently includes Linux, ChromeOS and Android.