Interface NativeBinaryManager
- All Known Implementing Classes:
- TarXzCompressedBinaryManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Returns an installation location for a native binary. The implementation is responsible for locating and optionally unpacking installing the binary.
- Since:
- 3.0
- 
Method SummaryModifier and TypeMethodDescriptionReturns the location (installation directory) for the installed binary.default voidsetInstallationBaseDirectory(File installationBaseDirectory) Sets the installation directory.
- 
Method Details- 
getLocationReturns the location (installation directory) for the installed binary.- Returns:
- Installation directory with the native binary installed.
- Throws:
- IOException- If the binary could not be located or installed.
 
- 
setInstallationBaseDirectorySets the installation directory. This method must be called before the first call togetLocation().Implementing this method is optional if no local installation directory is required. - Parameters:
- installationBaseDirectory- Base directory in which the binary distribution is unpacked. Must not be null.
 
 
-