public class OperatingSystem
extends java.lang.Object
AbstractModule
s use this class to define a list of operating
systems where they are compatible with, and to validate if they can be
executed on the current system. Allows the modules to define customized
commands for different operating systems.Modifier and Type | Class and Description |
---|---|
static class |
OperatingSystem.OsName
Operating system types for a general distinction.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fullName
Full name of the operating system.
|
OperatingSystem.OsName |
genericName |
java.lang.String |
version
version of the operating system
|
Modifier and Type | Method and Description |
---|---|
static OperatingSystem |
getCurrentOS()
Current used operating system to be used at the modules.
|
public OperatingSystem.OsName genericName
OperatingSystem.OsName
public java.lang.String fullName
public java.lang.String version
public static final OperatingSystem getCurrentOS()