Package io.github.bonigarcia.wdm.config
Class Config
- java.lang.Object
-
- io.github.bonigarcia.wdm.config.Config
-
public class Config extends Object
Configuration class.- Since:
- 2.2.0
- Author:
- Boni Garcia
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
-
-
-
Method Detail
-
reset
public void reset()
-
isNullOrEmpty
public static boolean isNullOrEmpty(String string)
-
isExecutable
public boolean isExecutable(File file)
-
getProperties
public String getProperties()
-
getCachePath
public String getCachePath()
-
getResolutionCachePath
public String getResolutionCachePath()
-
isForceDownload
public boolean isForceDownload()
-
setForceDownload
public Config setForceDownload(boolean value)
-
isUseMirror
public boolean isUseMirror()
-
setUseMirror
public Config setUseMirror(boolean value)
-
isUseBetaVersions
public boolean isUseBetaVersions()
-
setUseBetaVersions
public Config setUseBetaVersions(boolean value)
-
isAvoidExport
public boolean isAvoidExport()
-
setAvoidExport
public Config setAvoidExport(boolean value)
-
isAvoidOutputTree
public boolean isAvoidOutputTree()
-
setAvoidOutputTree
public Config setAvoidOutputTree(boolean value)
-
isAvoidBrowserDetection
public boolean isAvoidBrowserDetection()
-
setAvoidBrowserDetection
public Config setAvoidBrowserDetection(boolean value)
-
isAvoidFallback
public boolean isAvoidFallback()
-
setAvoidFallback
public Config setAvoidFallback(boolean value)
-
isAvoidingResolutionCache
public boolean isAvoidingResolutionCache()
-
setAvoidResolutionCache
public Config setAvoidResolutionCache(boolean value)
-
isAvoidReadReleaseFromRepository
public boolean isAvoidReadReleaseFromRepository()
-
setAvoidReadReleaseFromRepository
public Config setAvoidReadReleaseFromRepository(boolean value)
-
isAvoidTmpFolder
public boolean isAvoidTmpFolder()
-
setAvoidTmpFolder
public Config setAvoidTmpFolder(boolean value)
-
getTimeout
public int getTimeout()
-
setTimeout
public Config setTimeout(int value)
-
getVersionsPropertiesOnlineFirst
public boolean getVersionsPropertiesOnlineFirst()
-
setVersionsPropertiesOnlineFirst
public Config setVersionsPropertiesOnlineFirst(boolean value)
-
getCommandsPropertiesOnlineFirst
public boolean getCommandsPropertiesOnlineFirst()
-
setCommandsPropertiesOnlineFirst
public Config setCommandsPropertiesOnlineFirst(boolean value)
-
getVersionsPropertiesUrl
public URL getVersionsPropertiesUrl()
-
getCommandsPropertiesUrl
public URL getCommandsPropertiesUrl()
-
getClearingResolutionCache
public boolean getClearingResolutionCache()
-
getClearingDriverCache
public boolean getClearingDriverCache()
-
getArchitecture
public Architecture getArchitecture()
-
setArchitecture
public Config setArchitecture(Architecture value)
-
getOs
public String getOs()
-
getOperatingSystem
public OperatingSystem getOperatingSystem()
-
getProxy
public String getProxy()
-
getProxyUser
public String getProxyUser()
-
getProxyPass
public String getProxyPass()
-
getGitHubToken
public String getGitHubToken()
-
getDefaultBrowser
public String getDefaultBrowser()
-
getTtl
public int getTtl()
-
setTtl
public Config setTtl(int value)
-
getTtlForBrowsers
public int getTtlForBrowsers()
-
setTtlForBrowsers
public Config setTtlForBrowsers(int value)
-
getResolutionCache
public String getResolutionCache()
-
getBrowserVersionDetectionRegex
public String getBrowserVersionDetectionRegex()
-
getChromeDriverVersion
public String getChromeDriverVersion()
-
getChromeVersion
public String getChromeVersion()
-
getChromeDriverExport
public String getChromeDriverExport()
-
getChromeDriverUrl
public URL getChromeDriverUrl()
-
getChromeDriverMirrorUrl
public URL getChromeDriverMirrorUrl()
-
getChromeDownloadUrlPattern
public String getChromeDownloadUrlPattern()
-
getEdgeDriverVersion
public String getEdgeDriverVersion()
-
getEdgeVersion
public String getEdgeVersion()
-
getEdgeDriverExport
public String getEdgeDriverExport()
-
getEdgeDriverUrl
public URL getEdgeDriverUrl()
-
getEdgeDownloadUrlPattern
public String getEdgeDownloadUrlPattern()
-
getGeckoDriverVersion
public String getGeckoDriverVersion()
-
getFirefoxVersion
public String getFirefoxVersion()
-
getFirefoxDriverExport
public String getFirefoxDriverExport()
-
getFirefoxDriverUrl
public URL getFirefoxDriverUrl()
-
getFirefoxDriverMirrorUrl
public URL getFirefoxDriverMirrorUrl()
-
getIExplorerDriverVersion
public String getIExplorerDriverVersion()
-
getIExplorerDriverExport
public String getIExplorerDriverExport()
-
getIExplorerDriverUrl
public URL getIExplorerDriverUrl()
-
getOperaDriverVersion
public String getOperaDriverVersion()
-
getOperaVersion
public String getOperaVersion()
-
getOperaDriverExport
public String getOperaDriverExport()
-
getOperaDriverUrl
public URL getOperaDriverUrl()
-
getOperaDriverMirrorUrl
public URL getOperaDriverMirrorUrl()
-
getChromiumDriverVersion
public String getChromiumDriverVersion()
-
getChromiumVersion
public String getChromiumVersion()
-
getChromiumDriverSnapPath
public String getChromiumDriverSnapPath()
-
isUseChromiumDriverSnap
public boolean isUseChromiumDriverSnap()
-
setUseChromiumDriverSnap
public Config setUseChromiumDriverSnap(boolean value)
-
getBrowserVersionDetectionCommand
public String getBrowserVersionDetectionCommand()
-
getServerPort
public int getServerPort()
-
getServerPath
public String getServerPath()
-
setServerPort
public Config setServerPort(int value)
-
getServerTimeoutSec
public int getServerTimeoutSec()
-
setServerTimeoutSec
public Config setServerTimeoutSec(int value)
-
getDockerDaemonUrl
public String getDockerDaemonUrl()
-
getDockerHubUrl
public String getDockerHubUrl()
-
getDockerNetwork
public String getDockerNetwork()
-
getDockerTimezone
public String getDockerTimezone()
-
getDockerLang
public String getDockerLang()
-
getDockerMemSizeBytes
public long getDockerMemSizeBytes(String memSize)
-
getDockerShmSize
public String getDockerShmSize()
-
getDockerTmpfsSize
public String getDockerTmpfsSize()
-
getDockerTmpfsMount
public String getDockerTmpfsMount()
-
getDockerStopTimeoutSec
public int getDockerStopTimeoutSec()
-
setDockerStopTimeoutSec
public Config setDockerStopTimeoutSec(int value)
-
isEnabledDockerVnc
public boolean isEnabledDockerVnc()
-
setDockerEnableVnc
public Config setDockerEnableVnc(boolean value)
-
isEnabledDockerRecording
public boolean isEnabledDockerRecording()
-
setDockerEnableRecording
public Config setDockerEnableRecording(boolean value)
-
getDockerScreenResolution
public String getDockerScreenResolution()
-
getDockerVideoSize
public String getDockerVideoSize()
-
getDockerVncPassword
public String getDockerVncPassword()
-
getDockerBrowserPort
public int getDockerBrowserPort()
-
setDockerBrowserPort
public Config setDockerBrowserPort(int value)
-
getDockerVncPort
public int getDockerVncPort()
-
setDockerVncPort
public Config setDockerVncPort(int value)
-
getDockerNoVncPort
public int getDockerNoVncPort()
-
setDockerNoVncPort
public Config setDockerNoVncPort(int value)
-
getDockerRecordingFrameRate
public int getDockerRecordingFrameRate()
-
setDockerRecordingFrameRate
public Config setDockerRecordingFrameRate(int value)
-
getDockerRecordingOutput
public Path getDockerRecordingOutput()
-
getDockerRecordingPrefix
public String getDockerRecordingPrefix()
-
getDockerBrowserSelenoidImageFormat
public String getDockerBrowserSelenoidImageFormat()
-
setDockerBrowserSelenoidImageFormat
public Config setDockerBrowserSelenoidImageFormat(String value)
-
getDockerBrowserTwilioImageFormat
public String getDockerBrowserTwilioImageFormat()
-
getDockerBrowserAerokubeImageFormat
public String getDockerBrowserAerokubeImageFormat()
-
setDockerBrowserAerokubeImageFormat
public Config setDockerBrowserAerokubeImageFormat(String value)
-
getDockerBrowserMobileImageFormat
public String getDockerBrowserMobileImageFormat()
-
getDockerRecordingImage
public String getDockerRecordingImage()
-
getDockerNoVncImage
public String getDockerNoVncImage()
-
getDockerCustomImage
public String getDockerCustomImage()
-
getDockerVolumes
public String getDockerVolumes()
-
getDockerDefaultArgs
public String getDockerDefaultArgs()
-
getRemoteAddress
public String getRemoteAddress()
-
-