Class GrammarCacheInfo
- java.lang.Object
-
- org.eclipse.lemminx.extensions.contentmodel.model.GrammarCacheInfo
-
public class GrammarCacheInfo extends Object
Grammar cache information.
-
-
Constructor Summary
Constructors Constructor Description GrammarCacheInfo(String cachedResolvedUri, boolean downloading, Exception cacheError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCachedResolvedUri()Returns the file path cache.ExceptiongetCacheError()Returns the error while downloading and null otherwise.booleanisDownloading()Returns true if the grammar is downloading and false otherwise.
-
-
-
Method Detail
-
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.
-
-