Class HostSystem
java.lang.Object
io.github.ascopes.protobufmavenplugin.utils.HostSystem
@Description("Discovers information about the platform that the plugin is being invoked on")
@Named
public final class HostSystem
extends Object
A bean that exposes information about the underlying platform and the context of the invocation.
- Author:
 - Ashley Scopes
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanboolean 
- 
Constructor Details
- 
HostSystem
@Inject public HostSystem() 
 - 
 - 
Method Details
- 
getOperatingSystem
 - 
getCpuArchitecture
 - 
isProbablyLinux
public boolean isProbablyLinux() - 
isProbablyTermux
public boolean isProbablyTermux() - 
isProbablyMacOs
public boolean isProbablyMacOs() - 
isProbablyWindows
public boolean isProbablyWindows() - 
getJavaExecutablePath
 - 
getSystemPath
 - 
getPathSeparator
 - 
getSystemPathExtensions
 
 -