public static class ChannelQuery.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChannelQuery |
build()
Creates the new query.
|
ChannelQuery.Builder |
on(Executor executor)
Changes which executor should execute the query.
|
ChannelQuery.Builder |
result(Collection<Channel> channels,
Exception exception)
Pre-fills the cached result with the given channels and exception.
|
ChannelQuery.Builder |
using(ChannelFinderClient client)
Changes which client should be used to execute the query.
|
public ChannelQuery.Builder using(ChannelFinderClient client)
client - a cliemtpublic ChannelQuery.Builder result(Collection<Channel> channels, Exception exception)
channels - the result of the queryexception - the exception for the result; can be nullpublic ChannelQuery.Builder on(Executor executor)
executor - an executorpublic ChannelQuery build()
Copyright © 2012. All Rights Reserved.