Interface ProgressSupport
- All Known Implementing Classes:
XMLLanguageServer
public interface ProgressSupport
LSP Progress support API.
- Author:
- Angelo ZERR
-
Method Summary
Modifier and TypeMethodDescriptioncreateProgress(org.eclipse.lsp4j.WorkDoneProgressCreateParams params) Create a progress.default ProgressMonitordefault ProgressMonitorcreateProgressMonitor(String progressId) booleanReturns 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 Details
-
createProgressMonitor
-
createProgressMonitor
-
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
Create a progress.- Parameters:
params- the progress create parameters- Returns:
-
notifyProgress
Notify the the progress notification with the given process id.- Parameters:
progressId- the progress id.notification- the progress notification.
-