Class InvalidPathWarner


  • public class InvalidPathWarner
    extends AbstractXMLNotifier
    This class sends a warning to the client via a jsonrpc notification The cache is a Map> where the keys are the feature names and the value is a set of file paths for which notifications have been sent already
    • Method Detail

      • onInvalidFilePath

        public void onInvalidFilePath​(Set<String> invalidPaths,
                                      PathFeature feature)
        Sends the invalid path warning to the client only if the provided invalidPaths set does not match the feature's cache set After sending the warning, the feature's cache set is replaced with the provided invalidPaths set
        Parameters:
        invalidPaths - the set of invalid paths
        feature - the feature