public class TagFilter<T>
extends java.lang.Object
implements jadex.commons.IAsyncFilter<T>
Modifier and Type | Field and Description |
---|---|
protected IExternalAccess |
component
The component.
|
protected java.util.Collection<java.lang.String> |
tags
The search tags.
|
Constructor and Description |
---|
TagFilter(IExternalAccess component,
java.util.Collection<java.lang.String> tags)
Create a new tag filter.
|
TagFilter(IExternalAccess component,
java.lang.String... tags)
Create a new tag filter.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Boolean> |
filter(T ts)
Filter if a service contains all the tags.
|
protected IExternalAccess component
protected java.util.Collection<java.lang.String> tags
public TagFilter(IExternalAccess component, java.lang.String... tags)
public TagFilter(IExternalAccess component, java.util.Collection<java.lang.String> tags)