public interface AgentChannelsFilter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AgentChannelsFilter.Listener
Interface to be implemented by classes that should be notified of changes in the
AgentChannelsFilter. |
| Modifier and Type | Field and Description |
|---|---|
static AgentChannelsFilter |
PASS
Trivial filter that accepts all channels and does not modify paths.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
addListener(AgentChannelsFilter.Listener listener)
Registers a listener that will be notified of any changes in this filter.
|
default Set<String> |
getAgents()
Returns a set of subsystem names accepted by this filter.
|
default Map<String,Object> |
getAttributes(String path)
Returns attributes associated with the specified path.
|
default Set<String> |
getDisplayChannels()
Returns a set of display paths produced by this filter.
|
default List<String> |
getDisplayPath(String originPath)
Returns a list of display channels for the specified original channel.
|
default String |
getName()
Returns the name of this filter.
|
default Set<String> |
getOriginChannels()
Returns a set of original channel paths accepted by this filter.
|
default String |
getOriginPath(String displayPath)
Returns the original path corresponding to the specified display channel.
|
default void |
removeListener(AgentChannelsFilter.Listener listener)
Removes a listener.
|
static final AgentChannelsFilter PASS
default String getName()
default Set<String> getAgents()
null if any agent might be accepted.default Set<String> getOriginChannels()
null if any
original path for which getDisplayPath(java.lang.String) returns a non-empty list is accepted.default Set<String> getDisplayChannels()
getDisplayPath(java.lang.String)
applied to accepted original channels. Otherwise, any display channels for
which the data is available will be displayed.null if the set is not fixed.default String getOriginPath(String displayPath)
displayPath - The display channel path.null if the specified path does not correspond to any original channel.default List<String> getDisplayPath(String originPath)
originPath - The path of the original channel.default Map<String,Object> getAttributes(String path)
path - Full or partial display path.default void addListener(AgentChannelsFilter.Listener listener)
listener - Listener to be notified.default void removeListener(AgentChannelsFilter.Listener listener)
listener - Listener to be removed.Copyright © 2017 LSST. All rights reserved.