private static class Main.MainFilter extends java.lang.Object implements IndexedFilter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
private |
MainFilter(java.lang.String name)
The name given here will match the ModuleStartup
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdvertisedContract()
If this returns non-null then this index will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
java.lang.String |
getName()
If this returns non-null then this name will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
boolean |
matches(Descriptor d)
Returns true if this filter matches the
given object
|
private MainFilter(java.lang.String name)
name - The name of the ModuleStartup to find. If
null this Filter will only match ModuleStartups with
no namepublic boolean matches(Descriptor d)
Filterpublic java.lang.String getAdvertisedContract()
IndexedFiltergetAdvertisedContract in interface IndexedFilterpublic java.lang.String getName()
IndexedFiltergetName in interface IndexedFilter