Package ch.mobi.mobitor.domain.screen
Class DefaultPipeline
- java.lang.Object
-
- ch.mobi.mobitor.domain.screen.DefaultPipeline
-
- All Implemented Interfaces:
ch.mobi.mobitor.domain.screen.Pipeline
public class DefaultPipeline extends java.lang.Object implements ch.mobi.mobitor.domain.screen.Pipeline
-
-
Constructor Summary
Constructors Constructor Description DefaultPipeline(java.lang.String appServerName, java.util.Map<java.lang.String,DefaultServerContext> serverContextMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInformation(java.lang.String environment, java.lang.String applicationName, ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation information)java.util.Set<java.lang.String>getApplicationNames()java.lang.StringgetAppServerName()java.util.DategetLastRuleCompliantDate()java.util.DategetLastRuleUpdateDate()java.util.List<ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation>getMatchingInformation(java.lang.String type, java.lang.String environment, java.lang.String applicationName)java.util.List<ch.mobi.mobitor.domain.screen.RuleEvaluation>getRuleEvaluations(java.lang.String type)ch.mobi.mobitor.domain.screen.RuleEvaluationSeveritygetRuleEvaluationSeverity()DefaultServerContextgetServerContext(java.lang.String environment)java.util.Map<java.lang.String,ch.mobi.mobitor.domain.screen.ServerContext>getServerContextMap()java.util.List<java.lang.String>getViolatedTypes()voidresetRuleEvaluation(java.lang.String type)voidsetLastRuleCompliantDate(java.util.Date date)voidupdateRuleEvaluation(java.lang.String informationType, ch.mobi.mobitor.domain.screen.RuleEvaluation ruleEvaluation)
-
-
-
Constructor Detail
-
DefaultPipeline
public DefaultPipeline(java.lang.String appServerName, java.util.Map<java.lang.String,DefaultServerContext> serverContextMap)
-
-
Method Detail
-
getAppServerName
public java.lang.String getAppServerName()
- Specified by:
getAppServerNamein interfacech.mobi.mobitor.domain.screen.Pipeline
-
addInformation
public void addInformation(java.lang.String environment, java.lang.String applicationName, ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation information)- Specified by:
addInformationin interfacech.mobi.mobitor.domain.screen.Pipeline
-
getMatchingInformation
public java.util.List<ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation> getMatchingInformation(java.lang.String type, java.lang.String environment, java.lang.String applicationName)- Specified by:
getMatchingInformationin interfacech.mobi.mobitor.domain.screen.Pipeline
-
getServerContext
public DefaultServerContext getServerContext(java.lang.String environment)
-
getServerContextMap
public java.util.Map<java.lang.String,ch.mobi.mobitor.domain.screen.ServerContext> getServerContextMap()
- Specified by:
getServerContextMapin interfacech.mobi.mobitor.domain.screen.Pipeline
-
updateRuleEvaluation
public void updateRuleEvaluation(java.lang.String informationType, ch.mobi.mobitor.domain.screen.RuleEvaluation ruleEvaluation)- Specified by:
updateRuleEvaluationin interfacech.mobi.mobitor.domain.screen.Pipeline
-
resetRuleEvaluation
public void resetRuleEvaluation(java.lang.String type)
- Specified by:
resetRuleEvaluationin interfacech.mobi.mobitor.domain.screen.Pipeline
-
getRuleEvaluationSeverity
public ch.mobi.mobitor.domain.screen.RuleEvaluationSeverity getRuleEvaluationSeverity()
- Specified by:
getRuleEvaluationSeverityin interfacech.mobi.mobitor.domain.screen.Pipeline
-
getViolatedTypes
public java.util.List<java.lang.String> getViolatedTypes()
-
getRuleEvaluations
public java.util.List<ch.mobi.mobitor.domain.screen.RuleEvaluation> getRuleEvaluations(java.lang.String type)
-
getLastRuleCompliantDate
public java.util.Date getLastRuleCompliantDate()
-
setLastRuleCompliantDate
public void setLastRuleCompliantDate(java.util.Date date)
- Specified by:
setLastRuleCompliantDatein interfacech.mobi.mobitor.domain.screen.Pipeline
-
getLastRuleUpdateDate
public java.util.Date getLastRuleUpdateDate()
-
getApplicationNames
public java.util.Set<java.lang.String> getApplicationNames()
- Specified by:
getApplicationNamesin interfacech.mobi.mobitor.domain.screen.Pipeline
-
-