Interface ProgressSupport
-
- All Known Implementing Classes:
XMLLanguageServer
public interface ProgressSupportLSP Progress support API.- Author:
- Angelo ZERR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CompletableFuture<Void>createProgress(org.eclipse.lsp4j.WorkDoneProgressCreateParams params)Create a progress.default ProgressMonitorcreateProgressMonitor()default ProgressMonitorcreateProgressMonitor(String progressId)booleanisWorkDoneProgressSupported()Returns true if the LSP client can support LSP progress and false otherwise.voidnotifyProgress(String progressId, org.eclipse.lsp4j.WorkDoneProgressNotification notification)Notify the the progress notification with the given process id.
-
-
-
Method Detail
-
createProgressMonitor
default ProgressMonitor createProgressMonitor()
-
createProgressMonitor
default ProgressMonitor createProgressMonitor(String progressId)
-
isWorkDoneProgressSupported
boolean isWorkDoneProgressSupported()
Returns true if the LSP client can support LSP progress and false otherwise.- Returns:
- true if the LSP client can support LSP progress and false otherwise.
-
createProgress
CompletableFuture<Void> createProgress(org.eclipse.lsp4j.WorkDoneProgressCreateParams params)
Create a progress.- Parameters:
params- the progress create parameters- Returns:
-
notifyProgress
void notifyProgress(String progressId, org.eclipse.lsp4j.WorkDoneProgressNotification notification)
Notify the the progress notification with the given process id.- Parameters:
progressId- the progress id.notification- the progress notification.
-
-