Package dev.galasa.java.ubuntu.spi
Class JavaUbuntuInstallationImpl
java.lang.Object
dev.galasa.java.spi.JavaInstallationImpl
dev.galasa.java.ubuntu.spi.JavaUbuntuInstallationImpl
- All Implemented Interfaces:
IJavaInstallation
,IJavaUbuntuInstallation
public class JavaUbuntuInstallationImpl
extends JavaInstallationImpl
implements IJavaUbuntuInstallation
-
Constructor Summary
ConstructorDescriptionJavaUbuntuInstallationImpl
(dev.galasa.java.ubuntu.internal.JavaUbuntuManagerImpl javaUbuntuManager, JavaType javaType, JavaVersion javaVersion, String javaJvm, String javaTag, String imageTag) -
Method Summary
Methods inherited from class dev.galasa.java.spi.JavaInstallationImpl
getArchiveFilename, getTag, isCodeCoverageRequested, retrieveArchive, retrieveJacocoAgent, saveCodeCoverageExecs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.galasa.java.IJavaInstallation
getArchiveFilename, retrieveArchive, retrieveJacocoAgent
-
Constructor Details
-
JavaUbuntuInstallationImpl
public JavaUbuntuInstallationImpl(dev.galasa.java.ubuntu.internal.JavaUbuntuManagerImpl javaUbuntuManager, JavaType javaType, JavaVersion javaVersion, String javaJvm, String javaTag, String imageTag) throws JavaManagerException - Throws:
JavaManagerException
-
-
Method Details
-
build
-
discard
public void discard()- Overrides:
discard
in classJavaInstallationImpl
-
getJavaCommand
- Specified by:
getJavaCommand
in interfaceIJavaInstallation
- Throws:
JavaManagerException
-
getJavaHome
Description copied from interface:IJavaInstallation
Provides the "Java Home" directory location within the unpacked java archive.- Specified by:
getJavaHome
in interfaceIJavaInstallation
- Returns:
- String
-