public final enum

OperatingSystem

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.server.OperatingSystem

Class Overview

Enumerates possible operating systems.

Operating systems are classified loosely. For example, individual versions of macOS and Windows are not considered distinct, and Linux distributions are not differentiated.

If the system is started on an unsupported operating system, like FreeBSD or Solaris, the operating system will be reported as LINUX.

Summary

Enum Values
OperatingSystem  LINUX  Linux-based operating systems. 
OperatingSystem  MAC_OS  Mac-based operating systems. 
OperatingSystem  WINDOWS  Windows-based operating systems. 
Public Methods
static OperatingSystem valueOf(String name)
final static OperatingSystem[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final OperatingSystem LINUX

Linux-based operating systems.

Note: Any operating system that isn't macOS or Windows or Linux, like FreeBSD or Solaris, will be reported as Linux.

public static final OperatingSystem MAC_OS

Mac-based operating systems.

public static final OperatingSystem WINDOWS

Windows-based operating systems.

Public Methods

public static OperatingSystem valueOf (String name)

public static final OperatingSystem[] values ()