|
org.netbeans.modules.parsing.api/1 1.55.0 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.parsing.spi.indexing.ErrorsCache
public class ErrorsCache
Cache of errors in a file. The errors are shown in the projects tab and tasklist, as appropriate.
| Nested Class Summary | |
|---|---|
static interface |
ErrorsCache.Convertor<T>
Getter for properties of the given error description. |
static class |
ErrorsCache.ErrorKind
|
| Method Summary | ||
|---|---|---|
static Collection<? extends URL> |
getAllFilesInError(URL root)
Return all files with error badge under the given source root |
|
static boolean |
isInError(FileObject file,
boolean recursive)
Whether or not the given file has an error badge. |
|
static
|
setErrors(URL root,
Indexable i,
Iterable<? extends T> errors,
ErrorsCache.Convertor<T> convertor)
Sets errors for a file/indexable. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> void setErrors(URL root,
Indexable i,
Iterable<? extends T> errors,
ErrorsCache.Convertor<T> convertor)
root - inside which the given file residesi - indexable for which the errors are being seterrors - errors to setconvertor - getter for properties of T. The methods on the
convertor are not invoked after this method finishes.
public static boolean isInError(FileObject file,
boolean recursive)
file - file to testrecursive - true if and only if folders should be tested recursively
public static Collection<? extends URL> getAllFilesInError(URL root)
throws IOException
root - source root to test
IOException
|
org.netbeans.modules.parsing.api/1 1.55.0 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||