In package com.cdsap.talaiot.configuration
class com.cdsap.talaiot.configuration.PublishersConfiguration
Main configuration for the publishers.
It offers the accessors for Groovy and KTS
publishers { influxDbPublisher { } outputPublisher { } taskDependencyGraphPublisher { } pushGatewayPublisher { } customDependencies { } }
Fields
var influxDbPublisher: InfluxDbPublisherConfiguration?
Access to the configuration of com.cdsap.talaiot.publisher.InfluxDbPublisher
var outputPublisher: OutputPublisherConfiguration?
Access to the configuration of com.cdsap.talaiot.publisher.OutputPublisher
var pushGatewayPublisher: PushGatewayPublisherConfiguration?
Access to the configuration of com.cdsap.talaiot.publisher.PushGatewayPublisher
var taskDependencyGraphPublisher: TaskDependencyGraphConfiguration?
Access to the configuration of com.cdsap.talaiot.publisher.TaskDependencyGraphPublisher
var timelinePublisher: Boolean
Flag to enable com.cdsap.talaiot.publisher.timeline.TimelinePublisher
Generates an html report with the timeline of task execution
var jsonPublisher: Boolean
Flag to enable com.cdsap.talaiot.publisher.JsonPublisher
Generates a json representation of com.cdsap.talaiot.entities.ExecutionReport
var customPublisher: Publisher?
Definition of a custom Publisher in the PublisherConfiguration. Requires implementation of Publisher.
Some users of plugin might need to use a custom publisher to push to internal analytics for example.
project:
Constructors
constructor(project: )
Main configuration for the publishers.
It offers the accessors for Groovy and KTS
publishers { influxDbPublisher { } outputPublisher { } taskDependencyGraphPublisher { } pushGatewayPublisher { } customDependencies { } }
-
project:
Methods
fun taskDependencyGraphPublisher(configuration: TaskDependencyGraphConfiguration.()->Unit)
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.TaskDependencyGraphPublisher
-
configuration: TaskDependencyGraphConfiguration.()->Unit
Configuration block for the TaskDependencyGraphConfiguration
fun taskDependencyGraphPublisher(closure: )
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.TaskDependencyGraphPublisher
-
closure:
closure for the TaskDependencyGraphConfiguration
fun influxDbPublisher(configuration: InfluxDbPublisherConfiguration.()->Unit)
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.InfluxDbPublisher
-
configuration: InfluxDbPublisherConfiguration.()->Unit
Configuration block for the InfluxDbPublisherConfiguration
fun influxDbPublisher(closure: )
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.InfluxDbPublisher
-
closure:
closure for the InfluxDbPublisherConfiguration
fun pushGatewayPublisher(configuration: PushGatewayPublisherConfiguration.()->Unit)
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.PushGatewayPublisher
-
configuration: PushGatewayPublisherConfiguration.()->Unit
Configuration block for the PushGatewayPublisherConfiguration
fun pushGatewayPublisher(closure: )
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.PushGatewayPublisher
-
closure:
closure for the PushGatewayPublisherConfiguration
fun outputPublisher(configuration: OutputPublisherConfiguration.()->Unit)
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.OutputPublisher
-
configuration: OutputPublisherConfiguration.()->Unit
Configuration block for the OutputPublisherConfiguration
fun outputPublisher(closure: )
Configuration accessor within the PublishersConfiguration for the com.cdsap.talaiot.publisher.OutputPublisher
-
closure:
closure for the OutputPublisherConfiguration