|
org.netbeans.modules.parsing.api/1 1.55.0 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=SOURCE) public static @interface ConstrainedBinaryIndexer.Registration
The annotation to register ConstrainedBinaryIndexer with constraints on
the scanned binary. The registered indexer is loaded and executed only of
the constraints are fulfilled.
| Required Element Summary | |
|---|---|
String |
indexerName
Return the name of this indexer. |
int |
indexVersion
Return the version stamp of the schema that is currently being stored by this indexer. |
| Optional Element Summary | |
|---|---|
String[] |
mimeType
One or more mime types that have to be present inside of the binary to enable this indexer. |
String |
namePattern
Regular expression of file names which have to be present inside of the binary to enable this indexer. |
String[] |
requiredResource
At least one of these resources has to be present to trigger this indexer. |
| Element Detail |
|---|
public abstract String indexerName
BinaryIndexerFactorypublic abstract int indexVersion
BinaryIndexerFactorypublic abstract String[] requiredResource
{} if the resource check should be skipped.
public abstract String[] mimeType
{} if the mime type check should be skipped. The mime
type check can be expensive especially for mime types which require
file reading, for such mime types consider to prefer name pattern.
public abstract String namePattern
"" if the file name check should be skipped.
|
org.netbeans.modules.parsing.api/1 1.55.0 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||