public class MonitoringDashboardManager extends Object
| Modifier and Type | Field and 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 and Description | 
|---|
MonitoringDashboardManager(ch.exense.commons.app.Configuration configuration,
                          step.core.execution.model.ExecutionAccessor executionAccessor,
                          step.core.scheduler.ExecutionTaskAccessor schedulerAccessor,
                          step.core.accessors.CRUDAccessor<LastExecutionBeforeStatusChangeCacheEntry> lastExecutionBeforeStatusChangeCache)  | 
| Modifier and Type | Method and 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()  | 
protected final ch.exense.commons.app.Configuration configuration
protected step.core.execution.model.ExecutionAccessor executionAccessor
protected step.core.scheduler.ExecutionTaskAccessor schedulerAccessor
protected LastExecutionBeforeStatusChangeCache lastExecutionBeforeStatusChangeCache
public MonitoringDashboardManager(ch.exense.commons.app.Configuration configuration,
                                  step.core.execution.model.ExecutionAccessor executionAccessor,
                                  step.core.scheduler.ExecutionTaskAccessor schedulerAccessor,
                                  step.core.accessors.CRUDAccessor<LastExecutionBeforeStatusChangeCacheEntry> lastExecutionBeforeStatusChangeCache)
public MonitoringDashboardConfigurationEntry getConfigurationForSchedulerTaskIdOrDefault(List<MonitoringDashboardConfigurationEntry> configurationEntries, step.core.scheduler.ExecutiontTaskParameters schedulerTask)
public MonitoringDashboardConfigurationEntry getDefaultConfigurationEntry(String taskId)
public step.core.execution.model.Execution getLastExecutionBeforeStatusChange(String taskId)
public void loadLastExecutionBeforeStatusChangeCache()
public void incrementalUpdateLastExecutionBeforeChangeCache(String taskId)
Copyright © 2020. All rights reserved.