Plan

data class Plan(val name: String, val author: String, val description: String, val activeChannels: List<ActiveSource>, val activeResources: List<ActiveSource>, val collectors: List<CollectorFlags>, val activeNodes: List<String>, val resourceFilters: List<String>, val planId: String?, val initializationStrategy: SessionInitializationStrategy, val scripts: List<String>, val runs: String, val timeOut: Long, val calibrationTargets: List<CalibrationTarget>, val calibrationDelta: Double?, val calibrationThreshold: Double?, val units: List<String>, val excludeUnits: List<String>)

Describes a measurement plan.

Constructors

Link copied to clipboard
constructor(name: String, author: String, description: String, activeChannels: List<ActiveSource>, activeResources: List<ActiveSource>, collectors: List<CollectorFlags>, activeNodes: List<String>, resourceFilters: List<String>, planId: String?, initializationStrategy: SessionInitializationStrategy, scripts: List<String>, runs: String, timeOut: Long, calibrationTargets: List<CalibrationTarget>, calibrationDelta: Double?, calibrationThreshold: Double?, units: List<String>, excludeUnits: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

active meter/channels for the session

Link copied to clipboard

Active nodes for the session

Link copied to clipboard

active unit/resources for the session

Link copied to clipboard

Author of the plan

Link copied to clipboard

Calibration mode: floating point value representing a significant change

Link copied to clipboard

Calibration mode: are we in a special calibration mode

Link copied to clipboard

Calibration mode: floating point value representing the minimum consumption

Link copied to clipboard

Collection rules for nodes

Link copied to clipboard

Description of the plan

Link copied to clipboard

Calibration mode: units to be excluded

Link copied to clipboard

Agent plan mode: initialization strategy for the session

Link copied to clipboard

Name of the plan

Link copied to clipboard

Plan id (unique UUID, if any)

Link copied to clipboard

List of included resources in the session

Link copied to clipboard

How many runs (a single value or comma separated list)

Link copied to clipboard

List of scripts (must be nonempty)

Link copied to clipboard

General timeout for the whole session

Link copied to clipboard

Calibration mode: units to be included

Functions

Link copied to clipboard
fun flags(node: String): <Error class: unknown class>
Link copied to clipboard
fun render(content: String): String
Link copied to clipboard