Class InitializeParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
org.graalvm.tools.lsp.server.types.InitializeParams
The initialize parameters.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic InitializeParamscreate(Integer processId, String rootUri, ClientCapabilities capabilities, List<WorkspaceFolder> workspaceFolders) booleanThe capabilities provided by the client (editor or tool).Information about the client.User provided initialization options.The process Id of the parent process that started the server.Deprecated.in favour of rootUri.Deprecated.in favour of workspaceFolders.getTrace()The initial trace setting.The actual configured workspace folders.inthashCode()setCapabilities(ClientCapabilities capabilities) setClientInfo(InitializeParams.ClientInfoParams clientInfo) setInitializationOptions(Object initializationOptions) setProcessId(Integer processId) setRootPath(String rootPath) setRootUri(String rootUri) setWorkspaceFolders(List<WorkspaceFolder> workspaceFolders) Methods inherited from class org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
create, getWorkDoneToken, setWorkDoneToken
-
Method Details
-
getProcessId
The process Id of the parent process that started the server. -
setProcessId
-
getClientInfo
Information about the client.- Since:
- 3.15.0
-
setClientInfo
-
getRootPath
Deprecated.in favour of rootUri.The rootPath of the workspace. Is null if no folder is open. -
setRootPath
-
getRootUri
Deprecated.in favour of workspaceFolders.The rootUri of the workspace. Is null if no folder is open. If both `rootPath` and `rootUri` are set `rootUri` wins. -
setRootUri
-
getCapabilities
The capabilities provided by the client (editor or tool). -
setCapabilities
-
getInitializationOptions
User provided initialization options. -
setInitializationOptions
-
getTrace
The initial trace setting. If omitted trace is disabled ('off'). -
setTrace
-
getWorkspaceFolders
The actual configured workspace folders. -
setWorkspaceFolders
-
equals
- Overrides:
equalsin classWorkDoneProgressParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkDoneProgressParams
-
create
public static InitializeParams create(Integer processId, String rootUri, ClientCapabilities capabilities, List<WorkspaceFolder> workspaceFolders)
-