Class MonitoringDashboardManager
- java.lang.Object
-
- step.plugins.dashboards.monitoring.MonitoringDashboardManager
-
public class MonitoringDashboardManager extends java.lang.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(java.util.List<MonitoringDashboardConfigurationEntry> configurationEntries, step.core.scheduler.ExecutiontTaskParameters schedulerTask)
MonitoringDashboardConfigurationEntry
getDefaultConfigurationEntry(java.lang.String taskId)
step.core.execution.model.Execution
getLastExecutionBeforeStatusChange(java.lang.String taskId)
void
incrementalUpdateLastExecutionBeforeChangeCache(java.lang.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(java.util.List<MonitoringDashboardConfigurationEntry> configurationEntries, step.core.scheduler.ExecutiontTaskParameters schedulerTask)
-
getDefaultConfigurationEntry
public MonitoringDashboardConfigurationEntry getDefaultConfigurationEntry(java.lang.String taskId)
-
getLastExecutionBeforeStatusChange
public step.core.execution.model.Execution getLastExecutionBeforeStatusChange(java.lang.String taskId)
-
loadLastExecutionBeforeStatusChangeCache
public void loadLastExecutionBeforeStatusChangeCache()
-
incrementalUpdateLastExecutionBeforeChangeCache
public void incrementalUpdateLastExecutionBeforeChangeCache(java.lang.String taskId)
-
-