-
- All Implemented Interfaces:
-
kotlin.Comparable
public final class BrowserInstanceId implements Comparable<BrowserInstanceId>
Every browser instance have a unique data dir, proxy is required to be unique too if it is enabled
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBrowserInstanceId.Companion
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>userDataDirprivate final Stringidentprivate final Stringdisplayprivate final PathcontextDirprivate BrowserTypebrowserTypeprivate StringproxyServer
-
Constructor Summary
Constructors Constructor Description BrowserInstanceId(Path contextDir, BrowserType browserType, String proxyServer)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getUserDataDir()final StringgetIdent()final StringgetDisplay()final PathgetContextDir()final BrowserTypegetBrowserType()final UnitsetBrowserType(BrowserType browserType)final StringgetProxyServer()final UnitsetProxyServer(String proxyServer)<ERROR CLASS>hashCode()Booleanequals(Object other)<ERROR CLASS>compareTo(BrowserInstanceId other)StringtoString()-
-
Method Detail
-
getUserDataDir
final <ERROR CLASS> getUserDataDir()
-
getDisplay
final String getDisplay()
-
getContextDir
final Path getContextDir()
-
getBrowserType
final BrowserType getBrowserType()
-
setBrowserType
final Unit setBrowserType(BrowserType browserType)
-
getProxyServer
final String getProxyServer()
-
setProxyServer
final Unit setProxyServer(String proxyServer)
-
hashCode
<ERROR CLASS> hashCode()
-
compareTo
<ERROR CLASS> compareTo(BrowserInstanceId other)
-
-
-
-