Class MonitoringDashboardManager
- java.lang.Object
-
- step.plugins.dashboards.monitoring.MonitoringDashboardManager
-
public class MonitoringDashboardManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ch.exense.commons.app.Configuration
configuration
protected step.core.execution.model.ExecutionAccessor
executionAccessor
protected LastExecutionBeforeStatusChangeCache
lastExecutionBeforeStatusChangeCache
protected step.core.scheduler.ExecutionTaskAccessor
schedulerAccessor
-
Constructor Summary
Constructors Constructor Description MonitoringDashboardManager(ch.exense.commons.app.Configuration configuration, step.core.execution.model.ExecutionAccessor executionAccessor, step.core.scheduler.ExecutionTaskAccessor schedulerAccessor, step.core.accessors.Accessor<LastExecutionBeforeStatusChangeCacheEntry> lastExecutionBeforeStatusChangeCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringDashboardConfigurationEntry
getConfigurationForSchedulerTaskIdOrDefault(List<MonitoringDashboardConfigurationEntry> configurationEntries, step.core.scheduler.ExecutiontTaskParameters schedulerTask)
MonitoringDashboardConfigurationEntry
getDefaultConfigurationEntry(String taskId)
step.core.execution.model.Execution
getLastExecutionBeforeStatusChange(String taskId)
void
incrementalUpdateLastExecutionBeforeChangeCache(String taskId)
void
loadLastExecutionBeforeStatusChangeCache()
-
-
-
Field Detail
-
configuration
protected final ch.exense.commons.app.Configuration configuration
-
executionAccessor
protected step.core.execution.model.ExecutionAccessor executionAccessor
-
schedulerAccessor
protected step.core.scheduler.ExecutionTaskAccessor schedulerAccessor
-
lastExecutionBeforeStatusChangeCache
protected LastExecutionBeforeStatusChangeCache lastExecutionBeforeStatusChangeCache
-
-
Constructor Detail
-
MonitoringDashboardManager
public MonitoringDashboardManager(ch.exense.commons.app.Configuration configuration, step.core.execution.model.ExecutionAccessor executionAccessor, step.core.scheduler.ExecutionTaskAccessor schedulerAccessor, step.core.accessors.Accessor<LastExecutionBeforeStatusChangeCacheEntry> lastExecutionBeforeStatusChangeCache)
-
-
Method Detail
-
getConfigurationForSchedulerTaskIdOrDefault
public MonitoringDashboardConfigurationEntry getConfigurationForSchedulerTaskIdOrDefault(List<MonitoringDashboardConfigurationEntry> configurationEntries, step.core.scheduler.ExecutiontTaskParameters schedulerTask)
-
getDefaultConfigurationEntry
public MonitoringDashboardConfigurationEntry getDefaultConfigurationEntry(String taskId)
-
getLastExecutionBeforeStatusChange
public step.core.execution.model.Execution getLastExecutionBeforeStatusChange(String taskId)
-
loadLastExecutionBeforeStatusChangeCache
public void loadLastExecutionBeforeStatusChangeCache()
-
incrementalUpdateLastExecutionBeforeChangeCache
public void incrementalUpdateLastExecutionBeforeChangeCache(String taskId)
-
-