Package net.serenitybdd.core
Class CurrentOS
java.lang.Object
net.serenitybdd.core.CurrentOS
public class CurrentOS
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrentOS.OSType
-
Constructor Summary
Constructors Constructor Description CurrentOS()
-
Method Summary
Modifier and Type Method Description static CurrentOS.OSType
getType()
detect the operating system from the os.name System property and cache the resultstatic boolean
isWindows()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CurrentOS
public CurrentOS()
-
-
Method Details
-
getType
detect the operating system from the os.name System property and cache the result- Returns:
- - the operating system detected
-
isWindows
public static boolean isWindows()
-