public class SourceAntennaRule extends ReductionRule
reducedSource). The message remains the same.initialLog, placeHolder| Constructor and Description |
|---|
SourceAntennaRule(ILogEntry initialLog)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyRule(ILogEntry logToReduce)
applyRule compares the log and the message and check if the log can be reduced.
|
ILogEntry |
getReducedLog()
Return a comma separated list of the reduced items after running the
reduction rule over a set of logs.
|
boolean |
isReducible() |
boolean |
isReducingLogs() |
public SourceAntennaRule(ILogEntry initialLog)
initialLog - The initial log used to reduce all the other entriespublic boolean isReducible()
isReducible in class ReductionRulepublic boolean applyRule(ILogEntry logToReduce)
ReductionRuleapplyRule in class ReductionRulelogToReduce - The log to reducetrue if the logs is reduced by this rule
false otherwisepublic ILogEntry getReducedLog()
ReductionRulegetReducedLog in class ReductionRulepublic boolean isReducingLogs()
isReducingLogs in class ReductionRuletrue if this rule is actually reducing logs