public class TripMonitorFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_LABEL
data label
|
protected boolean |
IS_ENABLED
indicates whether the monitor is enabled
|
protected java.lang.String |
NAME
name
|
protected java.util.regex.Pattern |
NODE_KEY_PATTERN
pattern for filtering the node key from the a node ID
|
protected java.lang.String |
NODE_TYPE
node type
|
protected PersistentStore |
PERSISTENT_STORE
persistent store for logging trips
|
protected PVNodeFormatGroup |
PV_NODE_FORMAT_GROUP
group of PV formats which are used to generate PVs from node names
|
protected java.lang.String |
SEQUENCE_ID
ID of the accelerator sequence from which to fetch the nodes
|
Constructor and Description |
---|
TripMonitorFilter(DataAdaptor adaptor,
xal.service.tripmonitor.TripFilterFactory tripFilterFactory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.regex.Pattern |
generateNodeKeyPattern(java.lang.String nodeIDPatternString)
generate the node key pattern
|
java.util.List<ChannelMonitor> |
getChannelMonitors(AcceleratorNode node)
get the channel monitors for the specified node
|
java.lang.String |
getName()
get the name of the trip monitor filter
|
java.lang.String |
getNodeKey(java.lang.String pv)
extract the node key from the specified pv
|
java.util.List<AcceleratorNode> |
getNodes()
get the list of nodes from the default accelerator
|
java.util.List<AcceleratorNode> |
getNodes(AcceleratorSeq sequence)
get the list of nodes
|
PersistentStore |
getPersistentStore()
get the persistent store
|
AcceleratorSeq |
getSequence()
get the sequence from the default accelerator
|
AcceleratorSeq |
getSequence(Accelerator accelerator)
get the accelerator sequence
|
java.util.List<TripChannelFilter> |
getTripChannelFilters()
get the trip channel filters
|
java.lang.String |
getTripPV(TripChannelFilter channelFilter,
java.lang.String nodeKey)
get the trip PV for the specified channel filter and node key
|
java.util.List<java.lang.String> |
getTripPVs(AcceleratorNode node)
get the trip PVs to monitor for the specified node
|
boolean |
isEnabled()
indicates whether the corresponding trip monitor should be enabled by default
|
java.lang.String |
toString()
string representation of this instance
|
public static final java.lang.String DATA_LABEL
protected final java.lang.String NAME
protected final java.lang.String SEQUENCE_ID
protected final java.lang.String NODE_TYPE
protected final java.util.regex.Pattern NODE_KEY_PATTERN
protected final boolean IS_ENABLED
protected final PersistentStore PERSISTENT_STORE
protected final PVNodeFormatGroup PV_NODE_FORMAT_GROUP
public TripMonitorFilter(DataAdaptor adaptor, xal.service.tripmonitor.TripFilterFactory tripFilterFactory)
public java.lang.String getName()
public boolean isEnabled()
public PersistentStore getPersistentStore()
protected java.util.regex.Pattern generateNodeKeyPattern(java.lang.String nodeIDPatternString)
public AcceleratorSeq getSequence()
public AcceleratorSeq getSequence(Accelerator accelerator)
public java.util.List<AcceleratorNode> getNodes()
public java.util.List<AcceleratorNode> getNodes(AcceleratorSeq sequence)
public java.lang.String getNodeKey(java.lang.String pv)
public java.util.List<ChannelMonitor> getChannelMonitors(AcceleratorNode node)
public java.util.List<java.lang.String> getTripPVs(AcceleratorNode node)
public java.lang.String getTripPV(TripChannelFilter channelFilter, java.lang.String nodeKey)
public java.util.List<TripChannelFilter> getTripChannelFilters()
public java.lang.String toString()
toString
in class java.lang.Object