In package com.cdsap.talaiot.configuration
class com.cdsap.talaiot.configuration.FilterConfiguration
Configuration to specify the filters for the tasks that should be processed by the publisher. Filters included: Task Name, Module Name and Threshold duration of the execution.
Used in OutputConfiguration and InfluxDbConfiguration. Not used in TaskDependencyGraphConfiguration due to requirement to display dependency of the task build.
Example:
filter{ tasks{ includes = arrayOf("cle.") excludes = arrayOf("taskA")}modules{ includes = arrayOf("feature.") excludes = arrayOf("utils.*") } threshold }
Fields
var tasks: StringFilter?
A regex based filter to include and exclude tasks
var modules: StringFilter?
A regex based filter to include and exclude module
var threshold: ThresholdConfiguration?
A range to filter the duration of execution of the task
Constructors
constructor()
Configuration to specify the filters for the tasks that should be processed by the publisher. Filters included: Task Name, Module Name and Threshold duration of the execution.
Used in OutputConfiguration and InfluxDbConfiguration. Not used in TaskDependencyGraphConfiguration due to requirement to display dependency of the task build.
Example:
filter{ tasks{ includes = arrayOf("cle.") excludes = arrayOf("taskA")}modules{ includes = arrayOf("feature.") excludes = arrayOf("utils.*") } threshold }
- No parameters
Methods
fun tasks(closure: )
-
closure:
fun modules(closure: )
-
closure:
fun threshold(configuration: ThresholdConfiguration.()->Unit)
-
configuration: ThresholdConfiguration.()->Unit
fun threshold(closure: )
-
closure: