Package org.eclipse.lemminx.services
Interface IXMLNotificationService
- All Known Implementing Classes:
XMLLanguageServer
public interface IXMLNotificationService
Notification service API
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current SharedSettings instancevoidsendNotification(String message, org.eclipse.lsp4j.MessageType messageType, org.eclipse.lsp4j.Command... commands) Sends a notification to the client with the providedmessageIf the client supports actionable notifications, the providedcommandswill be provided alongside the notification SeeActionableNotificationandXMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)
-
Method Details
-
sendNotification
void sendNotification(String message, org.eclipse.lsp4j.MessageType messageType, org.eclipse.lsp4j.Command... commands) Sends a notification to the client with the providedmessageIf the client supports actionable notifications, the providedcommandswill be provided alongside the notification SeeActionableNotificationandXMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)- Parameters:
message- the message to sendmessageType- the message typecommands- the commands to send alongside the notification
-