Package org.eclipse.lemminx.services
Interface IXMLNotificationService
-
- All Known Implementing Classes:
XMLLanguageServer
public interface IXMLNotificationServiceNotification service API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedSettingsgetSharedSettings()Returns 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 Detail
-
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
-
getSharedSettings
SharedSettings getSharedSettings()
Returns the current SharedSettings instance- Returns:
- the current SharedSettings instance
-
-