public interface ProgressSupport
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
createProgress(org.eclipse.lsp4j.WorkDoneProgressCreateParams params)
Create a progress.
|
default ProgressMonitor |
createProgressMonitor() |
default ProgressMonitor |
createProgressMonitor(String progressId) |
boolean |
isWorkDoneProgressSupported()
Returns true if the LSP client can support LSP progress and false otherwise.
|
void |
notifyProgress(String progressId,
org.eclipse.lsp4j.WorkDoneProgressNotification notification)
Notify the the progress notification with the given process id.
|
default ProgressMonitor createProgressMonitor()
default ProgressMonitor createProgressMonitor(String progressId)
boolean isWorkDoneProgressSupported()
CompletableFuture<Void> createProgress(org.eclipse.lsp4j.WorkDoneProgressCreateParams params)
params - the progress create parametersvoid notifyProgress(String progressId, org.eclipse.lsp4j.WorkDoneProgressNotification notification)
progressId - the progress id.notification - the progress notification.Copyright © 2024. All rights reserved.