Class GrammarCacheInfo

java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.model.GrammarCacheInfo

public class GrammarCacheInfo extends Object
Grammar cache information.
  • Constructor Details

    • GrammarCacheInfo

      public GrammarCacheInfo(String cachedResolvedUri, boolean downloading, Exception cacheError)
  • Method Details

    • getCachedResolvedUri

      public String getCachedResolvedUri()
      Returns the file path cache.
      Returns:
      the file path cache.
    • isDownloading

      public boolean isDownloading()
      Returns true if the grammar is downloading and false otherwise.
      Returns:
      true if the grammar is downloading and false otherwise.
    • getCacheError

      public Exception getCacheError()
      Returns the error while downloading and null otherwise.
      Returns:
      the error while downloading and null otherwise.