Java Code Examples for org.gradle.internal.os.OperatingSystem#FREE_BSD
The following examples show how to use
org.gradle.internal.os.OperatingSystem#FREE_BSD .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OperatingSystemNotationParser.java From pushfish-android with BSD 2-Clause "Simplified" License | 6 votes |
protected OperatingSystemInternal parseType(String notation) { if (WINDOWS_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.WINDOWS); } if (OSX_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.MAC_OS); } if (LINUX_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.LINUX); } if (SOLARIS_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.SOLARIS); } if (FREEBSD_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.FREE_BSD); } return null; }
Example 2
Source File: OperatingSystemNotationParser.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 6 votes |
protected OperatingSystemInternal parseType(String notation) { if (WINDOWS_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.WINDOWS); } if (OSX_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.MAC_OS); } if (LINUX_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.LINUX); } if (SOLARIS_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.SOLARIS); } if (FREEBSD_ALIASES.contains(notation.toLowerCase())) { return new DefaultOperatingSystem(notation, OperatingSystem.FREE_BSD); } return null; }
Example 3
Source File: DefaultOperatingSystem.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public boolean isFreeBSD() { return internalOs == OperatingSystem.FREE_BSD; }
Example 4
Source File: DefaultOperatingSystem.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public boolean isFreeBSD() { return internalOs == OperatingSystem.FREE_BSD; }