Class DefaultScreen

java.lang.Object
ch.mobi.mobitor.domain.screen.DefaultScreen
All Implemented Interfaces:
ch.mobi.mobitor.domain.screen.Screen

public class DefaultScreen extends Object implements ch.mobi.mobitor.domain.screen.Screen
  • Method Details

    • addInformation

      public void addInformation(String serverName, String applicationName, String environment, ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation information)
      Specified by:
      addInformation in interface ch.mobi.mobitor.domain.screen.Screen
    • getOnDuty

      public ch.mobi.mobitor.plugins.api.domain.config.OnDutyConfig getOnDuty()
    • setOnDuty

      public void setOnDuty(ch.mobi.mobitor.plugins.api.domain.config.OnDutyConfig onDuty)
    • getConfigKey

      public String getConfigKey()
      Specified by:
      getConfigKey in interface ch.mobi.mobitor.domain.screen.Screen
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface ch.mobi.mobitor.domain.screen.Screen
    • addEnvironments

      public void addEnvironments(List<String> environments)
    • getPipelines

      public List<ch.mobi.mobitor.domain.screen.Pipeline> getPipelines()
      Specified by:
      getPipelines in interface ch.mobi.mobitor.domain.screen.Screen
    • getEnvironments

      public List<String> getEnvironments()
      Specified by:
      getEnvironments in interface ch.mobi.mobitor.domain.screen.Screen
    • getMatchingInformation

      public <T extends ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation> List<T> getMatchingInformation(String type, String environment, String serverName, String applicationName)
      Specified by:
      getMatchingInformation in interface ch.mobi.mobitor.domain.screen.Screen
    • getMatchingInformation

      public <T extends ch.mobi.mobitor.plugins.api.domain.screen.information.ApplicationInformation> List<T> getMatchingInformation(String type)
      Specified by:
      getMatchingInformation in interface ch.mobi.mobitor.domain.screen.Screen
    • setConfigKey

      public void setConfigKey(String configKey)
    • setLabel

      public void setLabel(String label)
    • addPipeline

      public void addPipeline(DefaultPipeline pipeline)
    • setRefreshDate

      public void setRefreshDate(String type, Date refreshDate)
      Specified by:
      setRefreshDate in interface ch.mobi.mobitor.domain.screen.Screen
    • getRefreshDate

      public Date getRefreshDate(String type)
    • getRefreshDates

      public Map<String,Date> getRefreshDates()