Package ch.mobi.mobitor.domain.screen
Class DefaultRuleEvaluation
java.lang.Object
ch.mobi.mobitor.domain.screen.DefaultRuleEvaluation
- All Implemented Interfaces:
ch.mobi.mobitor.domain.screen.RuleEvaluation
public class DefaultRuleEvaluation
extends Object
implements ch.mobi.mobitor.domain.screen.RuleEvaluation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddViolation(String env, ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation applicationInformation, ch.mobi.mobitor.domain.screen.RuleViolationSeverity severity, String message) getMessages(String environment) booleanbooleanboolean
-
Constructor Details
-
DefaultRuleEvaluation
public DefaultRuleEvaluation()
-
-
Method Details
-
addViolation
public void addViolation(String env, ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation applicationInformation, ch.mobi.mobitor.domain.screen.RuleViolationSeverity severity, String message) - Specified by:
addViolationin interfacech.mobi.mobitor.domain.screen.RuleEvaluation
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrorsin interfacech.mobi.mobitor.domain.screen.RuleEvaluation
-
hasWarnings
public boolean hasWarnings()- Specified by:
hasWarningsin interfacech.mobi.mobitor.domain.screen.RuleEvaluation
-
hasViolationsOrWarnings
public boolean hasViolationsOrWarnings() -
getAffectedEnvironments
-
getMessages
-