public class CoreStates extends AbstractChannelsFilter
Persistable.Descriptor| Modifier and Type | Field and Description |
|---|---|
static List<String> |
CHANNELS |
descriptorALL, CATEGORY| Constructor and Description |
|---|
CoreStates(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(AgentChannel channel)
Returns a list of display channels for the specified original channel.
|
List<String> |
getFields(boolean compact)
Returns a list of attributes to display for each channel.
|
String |
getName()
Returns the name of this filter.
|
List<String> |
getOriginChannels()
Returns a list of original channel paths accepted by this filter.
|
List<String> |
getOriginPaths(String displayPath)
Returns the list of original paths mapped to the specified display channel.
|
getDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUnfilteredgetAttributes, getDisplayChannels, getDisplayPath, getDisplayPath, getDisplayPath, getDisplayPaths, getOriginPath, isSelector, matchTemplateedit, getCategory, getPath, restore, restore, save@Create(category="AgentChannelsFilter", name="Core States", path="Built-In/Core States", description="Selects core state channels, renames them to shorten the path.") public CoreStates(@Par(def="Core states",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(AgentChannel channel)
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.
The default implementation returns a singleton list that contains a string
returned by AgentChannelsFilter.getDisplayPath(AgentChannel) method.
channel - Original data channel.public List<String> getOriginPaths(String displayPath)
AgentChannelsFilter
The default implementation returns a list that contains one element - the
path returned by getOriginPath(...) - or an
empty list if getOriginPath(...) returns null.
displayPath - Display channel path.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.public List<String> getFields(boolean compact)
AgentChannelsFiltercompact - If true, returns a list of columns in a compact view.null if this filter does not provides any hints on what attributes should be displayed.Copyright © 2021 LSST. All rights reserved.