public interface FileBuiltQueryImplementation
Rather than registering a global instance, if your implementation
is applicable only to project-owned files, you should add it to
Project.getLookup()
and depend on
the org.netbeans.modules.projectapi
module.
Modifier and Type | Method and Description |
---|---|
FileBuiltQuery.Status |
getStatus(FileObject file)
Check whether a (source) file has been somehow built
or processed.
|
FileBuiltQuery.Status getStatus(FileObject file)
Foo.java
source file, this could
check whether Foo.class
exists (in the appropriate
build directory) with at least as new a timestamp.file
- a source file which can be built to a direct product