public final class TimestampPropertyInitializer extends java.lang.Object implements TelemetryInitializer
TelemetryInitializer
implementation that sets the timestamp on the Telemetry
unless the timestamp is already set.Constructor and Description |
---|
TimestampPropertyInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Telemetry telemetry)
Sets the timestamp to 'now' unless the timestamp is already set.
|
public void initialize(Telemetry telemetry)
initialize
in interface TelemetryInitializer
telemetry
- The Telemetry
to initialize.