Class StubQueryFilter
java.lang.Object
org.apache.activemq.console.filter.StubQueryFilter
- All Implemented Interfaces:
QueryFilter
-
Field Summary
Fields inherited from interface org.apache.activemq.console.filter.QueryFilter
QUERY_DELIMETER -
Constructor Summary
ConstructorsConstructorDescriptionStubQueryFilter(List data) Creates a stub query that returns the given collections as the query result -
Method Summary
-
Constructor Details
-
StubQueryFilter
Creates a stub query that returns the given collections as the query result- Parameters:
data- - the stub query result
-
-
Method Details
-
query
Returns the provided stub data as a stub query result- Specified by:
queryin interfaceQueryFilter- Parameters:
queryStr- - not use- Returns:
- the stub query result
- Throws:
Exception
-
query
Returns the provided stub data as a stub query result- Specified by:
queryin interfaceQueryFilter- Parameters:
queries- - not use- Returns:
- the stub query result
- Throws:
Exception
-