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
ConstructorDescriptionJavaInstallationImpl
(IJavaManagerSpi javaManager, JavaType javaType, OperatingSystem operatingSystem, CpuArchitecture cpuArchitecture, JavaVersion javaVersion, String javaJvm, String javaTag) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
discard()
getTag()
protected boolean
void
saveCodeCoverageExecs
(List<Path> execPaths) 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
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:
retrieveArchive
in interfaceIJavaInstallation
- Throws:
JavaManagerException
ResourceUnavailableException
-
retrieveJacocoAgent
- Specified by:
retrieveJacocoAgent
in interfaceIJavaInstallation
- Throws:
JavaManagerException
-
getArchiveFilename
- Specified by:
getArchiveFilename
in interfaceIJavaInstallation
- Throws:
JavaManagerException
-
discard
protected void discard() -
getTag
-
isCodeCoverageRequested
- Throws:
JavaManagerException
-
saveCodeCoverageExecs
- Throws:
JavaManagerException
-