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
ConstructorsConstructorDescriptionJavaUbuntuInstallationImpl(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, saveCodeCoverageExecsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
discardin classJavaInstallationImpl
-
getJavaCommand
- Specified by:
getJavaCommandin interfaceIJavaInstallation- Throws:
JavaManagerException
-
getJavaHome
Description copied from interface:IJavaInstallationProvides the "Java Home" directory location within the unpacked java archive.- Specified by:
getJavaHomein interfaceIJavaInstallation- Returns:
- String
-