Package dev.galasa.java.spi
Class JavaInstallationImpl
java.lang.Object
dev.galasa.java.spi.JavaInstallationImpl
- All Implemented Interfaces:
IJavaInstallation
-
Constructor Summary
ConstructorsConstructorDescriptionJavaInstallationImpl(IJavaManagerSpi javaManager, JavaType javaType, dev.galasa.OperatingSystem operatingSystem, dev.galasa.CpuArchitecture cpuArchitecture, JavaVersion javaVersion, String javaJvm, String javaTag) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddiscard()getTag()protected booleanvoidsaveCodeCoverageExecs(List<Path> execPaths) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.galasa.java.IJavaInstallation
getJavaCommand, getJavaHome
-
Constructor Details
-
JavaInstallationImpl
public JavaInstallationImpl(IJavaManagerSpi javaManager, JavaType javaType, dev.galasa.OperatingSystem operatingSystem, dev.galasa.CpuArchitecture cpuArchitecture, JavaVersion javaVersion, String javaJvm, String javaTag) throws JavaManagerException - Throws:
JavaManagerException
-
-
Method Details
-
retrieveArchive
public Path retrieveArchive() throws JavaManagerException, dev.galasa.framework.spi.ResourceUnavailableException- Specified by:
retrieveArchivein interfaceIJavaInstallation- Throws:
JavaManagerExceptiondev.galasa.framework.spi.ResourceUnavailableException
-
retrieveJacocoAgent
- Specified by:
retrieveJacocoAgentin interfaceIJavaInstallation- Throws:
JavaManagerException
-
getArchiveFilename
- Specified by:
getArchiveFilenamein interfaceIJavaInstallation- Throws:
JavaManagerException
-
discard
protected void discard() -
getTag
-
isCodeCoverageRequested
- Throws:
JavaManagerException
-
saveCodeCoverageExecs
- Throws:
JavaManagerException
-