SessionSummaryAdapter

class SessionSummaryAdapter(summary: SessionSummary, val logPath: String) : SessionData

Constructors

Link copied to clipboard
constructor(summary: SessionSummary, logPath: String)

Properties

Link copied to clipboard
open override val logPath: String

Relative path of the log directory

Functions

Link copied to clipboard
open override fun activeSources(): List<ActiveSource>

Active meter/channel - friendly name mappings

Link copied to clipboard
open fun author(): String

Author of the session

Link copied to clipboard

Configuration associated with this session

Link copied to clipboard
open override fun counters(): SessionCounters

Various session related counters

Link copied to clipboard
open fun description(): String

Description of the session

Link copied to clipboard
Link copied to clipboard

Global app configuration

Link copied to clipboard
open fun loadEventStream(): <Error class: unknown class><SessionEvent>

Fetches the session's events from the log file.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun logs(): <Error class: unknown class>
Link copied to clipboard
open override fun measurements(): List<MeasurementSummary>

Summary of past measurementss

Link copied to clipboard
open fun meterDataSources(): <Error class: unknown class>
Link copied to clipboard
open override fun meterSpecs(): List<PowerMeter>

Specifications for all the meters

Link copied to clipboard
open override fun meterStates(): List<MeterState>

Specifications for all the meters

Link copied to clipboard
open fun name(): String

Name of the session

Link copied to clipboard
open override fun nodes(): List<NodeSummary>

Associated nodes

Link copied to clipboard
open fun reconstructSession(sessionContext: SessionContext): <Error class: unknown class>

Reconstruct a session.

Link copied to clipboard
open override fun reportTemplate(): ReportTemplate?

Template associated with the session

Link copied to clipboard
open override fun resourceDumps(): List<String>

The names of units/resources for which we have received resource readings

Link copied to clipboard
open override fun resourceFilters(): List<String>

Field filters for resource consumption data

Link copied to clipboard

The names of units/resources for which we have received resource readings

Link copied to clipboard
open fun restore(sessionCounter: <Error class: unknown class>, sessionContext: SessionContext): Session

Restore a session from disk.

Link copied to clipboard
open override fun startTime(): <Error class: unknown class>

The start time of this session in LocalDateTime format

Link copied to clipboard
open override fun stopTime(): <Error class: unknown class>

The stop time of this session, if any.

Link copied to clipboard
open override fun summary(): SessionSummary

Static data for exports (note the uptime is still ticking)

Link copied to clipboard
open override fun timeSync(): List<TimeSync>

Time sync values for different systems

Link copied to clipboard
open fun timeSyncer(unit: String): TimeSyncer
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun triggerEvents(): List<TriggerEvent>

A filtered list of trigger events for this session.

Link copied to clipboard
open fun validate()
Link copied to clipboard
open override fun validationTime(): <Error class: unknown class>

The time of validation, if any

Link copied to clipboard
open override fun variables(): Variables

Misc variables

Link copied to clipboard
open override fun version(): String