Public Member Functions | |
SourceAntennaRule (ILogEntry initialLog) | |
boolean | isReducible () |
boolean | applyRule (ILogEntry logToReduce) |
ILogEntry | getReducedLog () |
boolean | isReducingLogs () |
The reduction rule for the logs having the same log message but different sources. For example two logs having the very same message "Antenna in position" but sources DA41 and DV01 will be reduced to a single log having the sources (DA41 and DV01 in this example) as additional data and the source replaced by the string (SourceAntennaRule#reducedSource). The message remains the same.
alma.acs.logging.table.reduction.SourceAntennaRule.SourceAntennaRule | ( | ILogEntry | initialLog | ) |
Constructor
initialLog | The initial log used to reduce all the other entries |
References com.cosylab.logging.engine.log.ILogEntry.getField(), alma.acs.logging.table.reduction.SourceAntennaRule.isReducible(), and alma.acs.logging.table.reduction.ReductionRule.placeHolder.
boolean alma.acs.logging.table.reduction.SourceAntennaRule.applyRule | ( | ILogEntry | logToReduce | ) |
ILogEntry alma.acs.logging.table.reduction.SourceAntennaRule.getReducedLog | ( | ) | [virtual] |
Return a comma separated list of the reduced items after running the reduction rule over a set of logs.
Implements alma.acs.logging.table.reduction.ReductionRule.
References com.cosylab.logging.engine.log.ILogEntry.getAdditionalData(), com.cosylab.logging.engine.log.ILogEntry.getField(), and alma.acs.logging.table.reduction.ReductionRule.initialLog.
boolean alma.acs.logging.table.reduction.SourceAntennaRule.isReducible | ( | ) | [virtual] |
Implements alma.acs.logging.table.reduction.ReductionRule.
Referenced by alma.acs.logging.table.reduction.SourceAntennaRule.applyRule(), and alma.acs.logging.table.reduction.SourceAntennaRule.SourceAntennaRule().
boolean alma.acs.logging.table.reduction.SourceAntennaRule.isReducingLogs | ( | ) | [virtual] |
true
if this rule is actually reducing logs Implements alma.acs.logging.table.reduction.ReductionRule.