Class 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 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:
        getAppServerName in interface ch.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:
        addInformation in interface ch.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:
        getMatchingInformation in interface ch.mobi.mobitor.domain.screen.Pipeline
      • getServerContextMap

        public java.util.Map<java.lang.String,​ch.mobi.mobitor.domain.screen.ServerContext> getServerContextMap()
        Specified by:
        getServerContextMap in interface ch.mobi.mobitor.domain.screen.Pipeline
      • updateRuleEvaluation

        public void updateRuleEvaluation​(java.lang.String informationType,
                                         ch.mobi.mobitor.domain.screen.RuleEvaluation ruleEvaluation)
        Specified by:
        updateRuleEvaluation in interface ch.mobi.mobitor.domain.screen.Pipeline
      • resetRuleEvaluation

        public void resetRuleEvaluation​(java.lang.String type)
        Specified by:
        resetRuleEvaluation in interface ch.mobi.mobitor.domain.screen.Pipeline
      • getRuleEvaluationSeverity

        public ch.mobi.mobitor.domain.screen.RuleEvaluationSeverity getRuleEvaluationSeverity()
        Specified by:
        getRuleEvaluationSeverity in interface ch.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:
        setLastRuleCompliantDate in interface ch.mobi.mobitor.domain.screen.Pipeline
      • getLastRuleUpdateDate

        public java.util.Date getLastRuleUpdateDate()
      • getApplicationNames

        public java.util.Set<java.lang.String> getApplicationNames()
        Specified by:
        getApplicationNames in interface ch.mobi.mobitor.domain.screen.Pipeline