Class KpiMonitorBuilder.ConfigurableBuilder
- java.lang.Object
-
- com.activeviam.risk.ref.monitors.impl.KpiMonitorBuilder.WorkflowMissing
-
- com.activeviam.risk.ref.monitors.impl.KpiMonitorBuilder.FilterableBuilder
-
- com.activeviam.risk.ref.monitors.impl.KpiMonitorBuilder.ConfigurableBuilder
-
- Enclosing class:
- KpiMonitorBuilder
public class KpiMonitorBuilder.ConfigurableBuilder extends KpiMonitorBuilder.FilterableBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KpiMonitorBuilder.WorkflowMissing
refreshEvery(long period, TimeUnit unit)
Configures this monitor to refresh periodically.KpiMonitorBuilder.WorkflowMissing
refreshManually()
Configures this monitor to refresh manually on user demand.KpiMonitorBuilder.ConfigurableBuilder
withContextValue(String key, String value)
Sets a - flat - context value for this monitor execution.-
Methods inherited from class com.activeviam.risk.ref.monitors.impl.KpiMonitorBuilder.FilterableBuilder
withFilter
-
Methods inherited from class com.activeviam.risk.ref.monitors.impl.KpiMonitorBuilder.WorkflowMissing
withWorkflowSchema
-
-
-
-
Method Detail
-
withContextValue
public KpiMonitorBuilder.ConfigurableBuilder withContextValue(String key, String value)
Sets a - flat - context value for this monitor execution.- Parameters:
key
- context value keyvalue
- context value "value"- Returns:
- this builder
-
refreshManually
public KpiMonitorBuilder.WorkflowMissing refreshManually()
Configures this monitor to refresh manually on user demand.By default, this monitor is configured to be in real-time, using the mode
KpiMonitorConfigurationDto.Mode.CONTINUOUS
;- Returns:
- builder at the next step
-
refreshEvery
public KpiMonitorBuilder.WorkflowMissing refreshEvery(long period, TimeUnit unit)
Configures this monitor to refresh periodically.By default, this monitor is configured to be in real-time, using the mode
KpiMonitorConfigurationDto.Mode.CONTINUOUS
;- Parameters:
period
- duration between each refreshunit
- time unit of the period- Returns:
- builder at the next step
-
-