@ConsoleLookup(id="org.lsst.ccs.gconsole.agent.AgentChannelsFilter", name="States", path="Built-In/States", description="Channels filter that selects subsystem state channels.<p><b>Optional parameters:</b><dl><dt>agents</dt><dd>Comma-separated list of subsystems accepted by this filter.</dd></dl>") public class States extends Object implements AgentChannelsFilter
AgentChannelsFilter.Event, AgentChannelsFilter.ListenerALL| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAgents()
Returns a list of agent names accepted by this filter.
|
List<String> |
getDisplayPath(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, getAttributes, getDisplayChannels, getDisplayPath, getFields, removeListenerpublic States(String agents)
public List<String> getDisplayPath(String originPath)
AgentChannelsFilter
Not that if the specified original channel is not accepted by this filter,
this method should return an empty list. null should never be returned.
getDisplayPath in interface AgentChannelsFilteroriginPath - Original path.public String getOriginPath(String displayPath)
AgentChannelsFiltergetOriginPath in interface AgentChannelsFilterdisplayPath - 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.
getOriginChannels in interface AgentChannelsFilternull if any
original path for which AgentChannelsFilter.getDisplayPath(org.lsst.ccs.gconsole.agent.AgentChannel) returns a non-empty list is accepted.public List<String> getAgents()
AgentChannelsFiltergetAgents in interface AgentChannelsFilternull if any agent might be accepted.public String getName()
AgentChannelsFiltergetName in interface AgentChannelsFilterCopyright © 2018 LSST. All rights reserved.