public class CCSHealthFilter extends AbstractChannelsFilter
Persistable.Descriptor| Modifier and Type | Field and Description |
|---|---|
static String |
CREATOR_PATH |
ALL, CREATOR_PATH_UNFILTERED, descriptorCATEGORY| Constructor and Description |
|---|
CCSHealthFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayPath(AgentChannel channel)
Returns the display path corresponding to 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 selectors that might be accepted by this filter.
|
String |
getOriginPath(String displayPath)
Returns the original path corresponding to the specified display channel.
|
getDescriptor, getUnfilteredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAgents, getDisplayChannels, getDisplayPath, getDisplayPath, getDisplayPaths, getDisplayPaths, getGroups, getOriginPaths, isSelector, matchTemplateedit, getCategory, getPath, restore, restore, savepublic static final String CREATOR_PATH
@Create(category="AgentChannelsFilter", name="CCS", path="Built-In/Whole Camera/CCS Health", description="CCS Health Monitor. Selects channels that reflect CCS state and conditions, and are present in all subsystems.") public CCSHealthFilter()
public String getDisplayPath(AgentChannel channel)
AgentChannelsFilternull if the clients that rely on mapping to a single
display path should ignore the specified channel.
The default implementation forwards the call to AgentChannelsFilter.getDisplayPath(String)
method. Subclasses may override it to take into account channel attributes and metadata.
channel - Original data channel.null if the provided channel is not accepted by this filter.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
The list returned by this method may contain channel selectors of
several types (note that interpretation of some selectors depends on the
list returned by getAgents() method):
[agent]/[partial path][/]" format.
Templates that omit the agent name are expanded against all agents whose
names are in the getAgents() list (or all agents present on the
buses if that list is null). Templates that end with "/" match
all channels that start with "agent/partial path/".
[agent.name=value&][agent.type=value&][agent.key[=value]&…&agent.key[=value]&][key[=value]&…&key[=value]]"
format, where key and value are names and values of agent
properties or static channel attributes. If value is omitted, the
existence of the attribute is checked.
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 String getName()
PersistableAgentChannelsFilternull if this filter has no name.public List<String> getFields(boolean compact)
AgentChannelsFilternull.compact - 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 © 2023 LSST. All rights reserved.