/** * Sends a message to the client to be presented to users, with possible * commands to execute */ public void sendActionableNotification(MessageType severity, String message, Object data, List<Command> commands) { ActionableNotification notification = new ActionableNotification().withSeverity(severity).withMessage(message).withData(data).withCommands(commands); sendActionableNotification(notification); }
new Command("Don't Show Again", "java.ignoreIncompleteClasspath", null) )); connection.sendActionableNotification(ignoreIncompleteClasspath);