Class HostSystem
java.lang.Object
io.github.ascopes.protobufmavenplugin.utils.HostSystem
A bean that exposes information about the underlying platform and the context of the invocation.
Unlike most beans, this can be a global singleton.
- Author:
- Ashley Scopes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
-
Constructor Details
-
HostSystem
@Inject public HostSystem() -
HostSystem
-
-
Method Details
-
getOperatingSystem
-
getCpuArchitecture
-
isProbablyLinux
public boolean isProbablyLinux() -
isProbablyAndroid
public boolean isProbablyAndroid() -
isProbablyMacOs
public boolean isProbablyMacOs() -
isProbablyWindows
public boolean isProbablyWindows() -
getWorkingDirectory
-
getJavaExecutablePath
-
getSystemPath
-
getPathSeparator
-
getSystemPathExtensions
-