Class DefaultGoBinaryManager
- java.lang.Object
-
- com.github.blindpirate.gogradle.crossplatform.DefaultGoBinaryManager
-
- All Implemented Interfaces:
GoBinaryManager
@Singleton public class DefaultGoBinaryManager extends java.lang.Object implements GoBinaryManager
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFILENAME
-
Constructor Summary
Constructors Constructor Description DefaultGoBinaryManager(GolangPluginSetting setting, GlobalCacheManager globalCacheManager, HttpUtils httpUtils, ProcessUtils processUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathgetBinaryPath()java.nio.file.PathgetGoroot()java.lang.StringgetGoVersion()booleansupportTestJsonOutput()
-
-
-
Field Detail
-
FILENAME
public static final java.lang.String FILENAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultGoBinaryManager
@Inject public DefaultGoBinaryManager(GolangPluginSetting setting, GlobalCacheManager globalCacheManager, HttpUtils httpUtils, ProcessUtils processUtils)
-
-
Method Detail
-
getBinaryPath
public java.nio.file.Path getBinaryPath()
- Specified by:
getBinaryPathin interfaceGoBinaryManager
-
getGoroot
public java.nio.file.Path getGoroot()
- Specified by:
getGorootin interfaceGoBinaryManager
-
supportTestJsonOutput
public boolean supportTestJsonOutput()
- Specified by:
supportTestJsonOutputin interfaceGoBinaryManager
-
getGoVersion
public java.lang.String getGoVersion()
- Specified by:
getGoVersionin interfaceGoBinaryManager
-
-