| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final long | |
| private final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | SpecificFilterImpl(String contract, String name, long id, long locatorId)
For matching an exact descriptor |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAdvertisedContract()
Implements org. 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. |
| public String | getName()
Implements org. 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. |
| public boolean | matches(Descriptor d)
Implements org. Returns true if this filter matches the given object |
| contract | back to summary |
|---|---|
| private final String contract | |
| id | back to summary |
|---|---|
| private final long id | |
| locatorId | back to summary |
|---|---|
| private final long locatorId | |
| name | back to summary |
|---|---|
| private final String name | |
| SpecificFilterImpl | back to summary |
|---|---|
| public SpecificFilterImpl(String contract, String name, long id, long locatorId) For matching an exact descriptor | |
| getAdvertisedContract | back to summary |
|---|---|
| public String getAdvertisedContract() Implements org. Doc from org. 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. Only those descriptors that have an AdverisedContract of this value will be passed to the matches method.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. 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. Only those descriptors that has an name of this value will be passed to the matches method.
| |
| matches | back to summary |
|---|---|
| public boolean matches(Descriptor d) Implements org. Doc from org. Returns true if this filter matches the given object
| |