List of all members.
Detailed Description
Class representing a link specification between the two nodes of a reduction rule, and that is capable of recognizing if a given Alarm matches the reduction rule definition, considering that the latter might include patterns (e.g., 'a*b'
) for both fault-family
and fault-member
fields on the reduction rule parent node.
Reduction rules that include patterns must obey the following rule:
-
For
NODE
RRs, a single parent (cause) has several children (effects). Therefore, the RR might include patterns only for the children alarm definition.
-
For
MULTIPLICITY
RRs, a single child (synthetic alarm) reduces a set of alarms that relate somehow (causes). Therefore, the RR might include patterns only for the parent alarm definition.
This rules does not mean that errors will appear if a pattern expression is present where it shouldn't; no error will occur, but instead the pattern will be treated as an ordinary string. For example, if the user specifies a fault family DV*
, it will not match all fault families DV01
, DV02
, ...
, but instead it will match the fault family named DV*
.
- Author:
- acaproni, rtobar
Constructor & Destructor Documentation
com.cosylab.acs.laser.dao.utils.LinkSpec.LinkSpec |
( |
ReductionLinkType |
link |
) |
|
Member Function Documentation
boolean com.cosylab.acs.laser.dao.utils.LinkSpec.isMultiplicity |
( |
|
) |
|
boolean com.cosylab.acs.laser.dao.utils.LinkSpec.matchChild |
( |
Alarm |
child |
) |
|
boolean com.cosylab.acs.laser.dao.utils.LinkSpec.matchParent |
( |
Alarm |
parent |
) |
|
String com.cosylab.acs.laser.dao.utils.LinkSpec.toString |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: