public class ConfigurationFilter extends AbstractChannelsFilter
Persistable.Descriptor| Modifier and Type | Field and Description |
|---|---|
static String |
CREATOR_PATH |
static String |
CREATOR_PATH_WHOLECAMERA |
ALL, CREATOR_PATH_UNFILTERED, descriptorCATEGORY| Constructor and Description |
|---|
ConfigurationFilter() |
ConfigurationFilter(String name,
List<String> subsystems) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAgents()
Returns a list of agent names accepted by this filter.
|
String |
getDisplayPath(AgentChannel channel)
Returns the display path corresponding to the specified original channel.
|
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.
|
getDescriptor, getUnfilteredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayChannels, getDisplayPath, getDisplayPath, getDisplayPaths, getDisplayPaths, getFields, getGroups, getOriginPaths, isSelector, matchTemplateedit, getCategory, getPath, restore, restore, savepublic static final String CREATOR_PATH
public static final String CREATOR_PATH_WHOLECAMERA
@Create(category="AgentChannelsFilter", name="Configuration", path="Built-In/Basic/Configuration", description="Selects subsystem configuration channels, and maps them to display paths in \"[subsystem/]category//rest/of/path\" format. Subsystem name is included only if multiple subsystems are accepted.") public ConfigurationFilter(@Par(def="Config",desc="Filter name.") String name, @Par(def="_null_",desc="List of subsystem names accepted by this filter. If null, all subsystems are accepted.") List<String> subsystems)
@Create(category="AgentChannelsFilter", name="Configuration", path="Built-In/Whole Camera/Configuration", description="Selects configuration channels of the whole camera, and maps them to display paths in \"subsystem/category//rest/of/path\" format.") public ConfigurationFilter()
public List<String> getAgents()
AgentChannelsFilterAgentStatusAggregator.
The default implementation returns null.null if any agent might be accepted.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 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 String getName()
PersistableAgentChannelsFilternull if this filter has no name.Copyright © 2022 LSST. All rights reserved.