You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatevoidlogEngineParameters() {
LOGGER.info("Rule priority threshold: {}",
parameters.getPriorityThreshold());
LOGGER.info("Skip on first applied rule: {}",
parameters.isSkipOnFirstAppliedRule());
LOGGER.info("Skip on first non triggered rule: {}",
parameters.isSkipOnFirstNonTriggeredRule());
LOGGER.info("Skip on first failed rule: {}",
parameters.isSkipOnFirstFailedRule());
LOGGER.info("Skip on missing fact: {}",
parameters.isSkipOnMissingFact());
}
It just print all properties of RulesEngineParameters, so maybe override toString() is briefer, like:
For example:
logEngineParameters()
in class DefaultRulesEngineIt just print all properties of
RulesEngineParameters
, so maybe overridetoString()
is briefer, like:and use it as:
the
toString()
above is create by IDEA, we can set another format. The same way toRules
andFacts
.What do you think about @benas ?
The text was updated successfully, but these errors were encountered: