Package org.apache.maven.utils
Class Os
java.lang.Object
org.apache.maven.utils.Os
Deprecated.
OS support
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.OS family that can be tested for.static final booleanDeprecated.Boolean indicating if the running OS is a Windows system.static final StringDeprecated.The OA architecture.static final StringDeprecated.OS Familystatic final StringDeprecated.The OS Name.static final StringDeprecated.The OS version. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDeprecated.Determines if the OS on which Maven is executing matches the given OS family.static booleanDeprecated.Determines if the OS on which Maven is executing matches the given OS family derived from the given OS name
-
Field Details
-
OS_NAME
Deprecated.The OS Name. -
OS_ARCH
Deprecated.The OA architecture. -
OS_VERSION
Deprecated.The OS version. -
OS_FAMILY
Deprecated.OS Family -
IS_WINDOWS
public static final boolean IS_WINDOWSDeprecated.Boolean indicating if the running OS is a Windows system. -
FAMILY_NT
Deprecated.OS family that can be tested for. "winnt"- See Also:
-
-
Method Details
-
isFamily
Deprecated.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
-
isFamily
Deprecated.Determines if the OS on which Maven is executing matches the given OS family derived from the given OS name- Parameters:
family- the family to check foractualOsName- the OS name to check against- Returns:
- true if the OS matches
-
ModelBuilderinstead