public final class SocketLock
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SocketLock.ActivationStatus |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LAUNCHER_INITIAL_DIRECTORY_ENV_VAR
Name of an environment variable that will be set by the Windows launcher and will contain the working directory the
IDE was started with.
|
Constructor and Description |
---|
SocketLock(java.lang.String configPath,
java.lang.String systemPath) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Pair<SocketLock.ActivationStatus,CliResult> |
lockAndTryActivate(java.lang.String [] args) |
void |
setCommandProcessor(java.util.function.Function<java.util.List<java.lang.String>,java.util.concurrent.Future<CliResult>> processor) |
public static final java.lang.String LAUNCHER_INITIAL_DIRECTORY_ENV_VAR
public SocketLock(java.lang.String configPath, java.lang.String systemPath)
public void setCommandProcessor(java.util.function.Function<java.util.List<java.lang.String>,java.util.concurrent.Future<CliResult>> processor)
public void dispose()
public Pair<SocketLock.ActivationStatus,CliResult> lockAndTryActivate(java.lang.String [] args) throws java.lang.Exception
java.lang.Exception