Package org.apache.maven.utils
Class Os
java.lang.Object
org.apache.maven.utils.Os
OS support
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringOS family that can be tested for.static final booleanBoolean indicating if the running OS is a Windows system.static final StringThe OA architecture.static final StringOS Familystatic final StringThe OS Name.static final StringThe OS version. - 
Method Summary
 
- 
Field Details
- 
OS_NAME
The OS Name. - 
OS_ARCH
The OA architecture. - 
OS_VERSION
The OS version. - 
OS_FAMILY
OS Family - 
IS_WINDOWS
public static final boolean IS_WINDOWSBoolean indicating if the running OS is a Windows system. - 
FAMILY_NT
OS family that can be tested for. "winnt"- See Also:
 
 
 - 
 - 
Method Details
- 
isFamily
Determines if the OS on which Maven is executing matches the given OS family.- Parameters:
 family- the family to check for- Returns:
 - true if the OS matches
 
 
 -