public class Configuration extends AbstractChannelsFilter
AgentChannelsFilter.Event, AgentChannelsFilter.ListenerPersistable.DescriptordescriptorALL, CATEGORY| Constructor and Description |
|---|
Configuration(String name,
List<String> agents) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAgents()
Returns a list of agent names accepted by this filter.
|
List<String> |
getDisplayPaths(String originPath)
Returns a list of display channels for the specified original path.
|
String |
getName()
Returns the name of this filter.
|
List<String> |
getOriginChannels()
Returns a list of original channel paths accepted by this filter.
|
String |
getOriginPath(String displayPath)
Returns the original path corresponding to the specified display channel.
|
addListener, getDescriptor, notifyListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUnfilteredgetAttributes, getDisplayChannels, getDisplayPath, getDisplayPath, getDisplayPath, getDisplayPaths, getFields, getOriginPaths, isSelector, matchTemplateedit, getCategory, getPath, restore, restore, save@Create(category="AgentChannelsFilter", name="Configuration", path="Built-In/Configuration", description="Channels filter that selects subsystem configuration channels.") public Configuration(@Par(def="Configuration",desc="Filter name.") String name, @Par(def="_null_",desc="List of subsystems accepted by this filter. If null, all subsystems are accepted.") List<String> agents)
public List<String> getDisplayPaths(String originPath)
AgentChannelsFilter
If the specified original channel is not accepted by this filter,
this method should return an empty list. null should never be returned.
The default implementation returns a singleton list that contains a string
returned by AgentChannelsFilter.getDisplayPath(String) method.
originPath - Original path.public String getOriginPath(String displayPath)
AgentChannelsFilternull.
The default implementation returns the display path provided as an argument.
displayPath - Display channel path.null if the specified path does not correspond to any original channel.public List<String> getOriginChannels()
AgentChannelsFilter
Note that if this filter is used to configure AgentStatusAggregator or any clients
that rely on it (like monitoring data views), the list returned by this method may contain
templates and selectors. See
AgentStatusAggregator.addListener(listener, agents, channels)
for details.
The default implementation returns null.
null if any
original path for which AgentChannelsFilter.getDisplayPaths(org.lsst.ccs.gconsole.services.aggregator.AgentChannel) returns a non-empty list is accepted.public List<String> getAgents()
AgentChannelsFilter
The default implementation returns null.
null if any agent might be accepted.public String getName()
PersistableAgentChannelsFilternull if this filter has no name.Copyright © 2021 LSST. All rights reserved.