Package ch.mobi.mobitor.model
Class ScreenViewHelper
java.lang.Object
ch.mobi.mobitor.model.ScreenViewHelper
-
Constructor Summary
ConstructorsConstructorDescriptionScreenViewHelper(ServersConfigurationService serversConfigurationService, SonarReportLimitsRule sonarReportLimitsRule, ch.mobi.mobitor.service.EnvironmentsConfigurationService environmentsConfigurationService, NexusIqConfigurationService nexusIqConfigurationService, TeamCityCoverageLimitsRule teamCityCoverageLimitRules) -
Method Summary
Modifier and TypeMethodDescriptiongetApplicationScreenName(String applicationName) getCoverageCssClass(TeamCityCoverageInformation teamCityCoverageInformation) getCssClassForBuild(TeamCityBuildInformation tcInformation) getCssClassForDb(FlywayRestServiceResponse flywayResponse) getCssClassForJira(JiraInformation jiraInformation) getCssClassForNexusIq(NexusIqInformation nexusIqInformation) getCssClassForProject(TeamCityProjectInformation teamCityProjectInformation) getCssClassForServer(LiimaInformation liimaInformation) getCssClassForZaproxy(ZaproxyInformation zaproxyInformation) getDwhDeploymentStatusCssClass(DwhDeploymentsInformation information) getEnvironmentClass(String environment) ch.mobi.mobitor.config.EnvironmentConfigPropertiesgetEnvironmentConfig(String environment) getFlywayRestServiceResponse(RestCallInformation restCallInformation) longgetNumberOfRestErrors(ch.mobi.mobitor.domain.screen.Screen screen) getPolicySummary(NexusIqInformation nexusIqInformation) getRestartCountClass(long restartCount) getRestCssClass(RestCallInformation restInformation) getRestErrorsCssGradient(long errors, long max) getServerScreenName(String serverName) getSonarCssClass(SonarInformation sonarInformation) longgetTotalNumberOfRestCalls(ch.mobi.mobitor.domain.screen.Screen screen) getVersionFromVersionInformation(ch.mobi.mobitor.domain.screen.ServerContext serverContext, String applicationName)
-
Constructor Details
-
ScreenViewHelper
@Autowired public ScreenViewHelper(ServersConfigurationService serversConfigurationService, SonarReportLimitsRule sonarReportLimitsRule, ch.mobi.mobitor.service.EnvironmentsConfigurationService environmentsConfigurationService, NexusIqConfigurationService nexusIqConfigurationService, TeamCityCoverageLimitsRule teamCityCoverageLimitRules)
-
-
Method Details
-
getCssClassForServer
-
getCssClassForProject
-
getCssClassForBuild
-
getEnvironmentClass
-
getApplicationScreenName
-
getServerScreenName
-
getVersionFromVersionInformation
-
getEnvironmentConfig
-
getSonarCssClass
-
getCoverageCssClass
-
getRestCssClass
-
getNumberOfRestErrors
public long getNumberOfRestErrors(ch.mobi.mobitor.domain.screen.Screen screen) -
getTotalNumberOfRestCalls
public long getTotalNumberOfRestCalls(ch.mobi.mobitor.domain.screen.Screen screen) -
getRestErrorsCssGradient
-
getCssClassForNexusIq
-
getPolicySummary
-
getCssClassForZaproxy
-
getCssClassForJira
-
getRestartCountClass
-
getCssClassForDb
-
getFlywayRestServiceResponse
public FlywayRestServiceResponse getFlywayRestServiceResponse(RestCallInformation restCallInformation) -
getKubernetesPodStatusCssClass
-
getKubernetesPodStatusIconCssClass
-
getEdwhDeploymentStatusCssClass
-
getDwhDeploymentStatusCssClass
-
getStreamworksStatusCssClass
-
getStreamworksLastRunStatusCssClass
-
getCssClassForSwd
-