InterfaceRulesClass.TraceAfterRule
ide.<ProgrammingLanguage>.InterfaceRulesClass.TraceAfterRule = xxx
This parameter can be used to define statements for the rules module that should be executed after the last action in each rule:
Entry in an LFET.Project.ini-file:
ide.Java.InterfaceRulesClass.TraceAfterRule = loggingFacade.traceAfterRule(...);
Or also in several lines, as necessary, in an LFET.Project.yaml-file:
ide.Java:
Interface:
RulesClass:
Trace:
AfterRule: |
// Relocation of logging tasks from interface in the rules module
loggingFacade.traceAfterRule(...);
Further information
-
Trace methods in the interface can be suppressed with Interface.TraceBeforeRule = false
-
Generation of instance variables can be triggered with InterfaceRulesClass.Vars, such as e.g. an instance of a LoggingFacade for trace methods