public interface ChannelSelector
AgentChannel satisfies certain criteria.| Modifier and Type | Field and Description |
|---|---|
static ChannelSelector |
ALL |
static Pattern |
pRegEx |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accept(List<String> agents,
List<ChannelSelector> channelSelectors,
AgentChannel channel) |
static List<ChannelSelector> |
compile(Collection<String> rawSelectors) |
static ChannelSelector |
compile(String rawSelector) |
static <T extends AgentChannel> |
filter(List<String> agents,
List<ChannelSelector> channelSelectors,
Collection<T> channels) |
static <T extends AgentChannel> |
filter(List<String> agents,
List<ChannelSelector> channelSelectors,
Collection<T> channels,
List<T> out)
Appends channels matching selectors to the provided list.
|
String |
getAgent() |
boolean |
match(AgentChannel channel) |
static final Pattern pRegEx
static final ChannelSelector ALL
static ChannelSelector compile(String rawSelector)
static List<ChannelSelector> compile(Collection<String> rawSelectors)
static boolean accept(List<String> agents, List<ChannelSelector> channelSelectors, AgentChannel channel)
static <T extends AgentChannel> List<T> filter(List<String> agents, List<ChannelSelector> channelSelectors, Collection<T> channels)
static <T extends AgentChannel> List<T> filter(List<String> agents, List<ChannelSelector> channelSelectors, Collection<T> channels, List<T> out)
T - Type of input and output lists, subclass of AgentChannel.agents - channelSelectors - channels - out - String getAgent()
boolean match(AgentChannel channel)
Copyright © 2021 LSST. All rights reserved.