Package org.apache.maven.utils
Class Os
java.lang.Object
org.apache.maven.utils.Os
Deprecated.
OS support
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringDeprecated.OpenJDK is reported to call MacOS X "Darwin"private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static final StringDeprecated.OS family that can be tested for.private static 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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringDeprecated.Helper method to determine the current OS family.static 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_WINDOWS
Deprecated.OS family that can be tested for. "windows"- See Also:
-
FAMILY_WIN9X
Deprecated.OS family that can be tested for. "win9x"- See Also:
-
FAMILY_NT
Deprecated.OS family that can be tested for. "winnt"- See Also:
-
FAMILY_OS2
Deprecated.OS family that can be tested for. "os/2"- See Also:
-
FAMILY_NETWARE
Deprecated.OS family that can be tested for. "netware"- See Also:
-
FAMILY_DOS
Deprecated.OS family that can be tested for. "dos"- See Also:
-
FAMILY_MAC
Deprecated.OS family that can be tested for. "mac"- See Also:
-
FAMILY_TANDEM
Deprecated.OS family that can be tested for. "tandem"- See Also:
-
FAMILY_UNIX
Deprecated.OS family that can be tested for. "unix"- See Also:
-
FAMILY_OPENVMS
Deprecated.OS family that can be tested for. "openvms"- See Also:
-
FAMILY_ZOS
Deprecated.OS family that can be tested for. "z/os"- See Also:
-
FAMILY_OS390
Deprecated.OS family that can be tested for. "os/390"- See Also:
-
FAMILY_OS400
Deprecated.OS family that can be tested for. "os/400"- See Also:
-
DARWIN
Deprecated.OpenJDK is reported to call MacOS X "Darwin"- See Also:
-
-
Constructor Details
-
Os
private Os()Deprecated.
-
-
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
-
getOsFamily
Deprecated.Helper method to determine the current OS family.- Returns:
- name of current OS family.
-
ModelBuilderinstead