Package dev.galasa.java.spi
Class JavaInstallationImpl
java.lang.Object
dev.galasa.java.spi.JavaInstallationImpl
- All Implemented Interfaces:
IJavaInstallation
- Direct Known Subclasses:
JavaUbuntuInstallationImpl,JavaWindowsInstallationImpl
-
Constructor Summary
ConstructorsConstructorDescriptionJavaInstallationImpl(IJavaManagerSpi javaManager, JavaType javaType, OperatingSystem operatingSystem, 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, OperatingSystem operatingSystem, CpuArchitecture cpuArchitecture, JavaVersion javaVersion, String javaJvm, String javaTag) throws JavaManagerException - Throws:
JavaManagerException
-
-
Method Details
-
retrieveArchive
- Specified by:
retrieveArchivein interfaceIJavaInstallation- Throws:
JavaManagerExceptionResourceUnavailableException
-
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
-