Class Os
java.lang.Object
org.apache.maven.utils.Os
- 
Field SummaryFieldsModifier 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 SummaryModifier 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
- 
OS_ARCH
- 
OS_VERSION
- 
OS_FAMILY
- 
IS_WINDOWSpublic static final boolean IS_WINDOWSDeprecated.Boolean indicating if the running OS is a Windows system.
- 
FAMILY_NTDeprecated.OS family that can be tested for. "winnt"- See Also:
 
 
- 
- 
Method Details- 
isFamilyDeprecated.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
 
- 
isFamilyDeprecated.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 for
- actualOsName- the OS name to check against
- Returns:
- true if the OS matches
 
 
- 
org.apache.maven.api.services.ModelBuilderinstead