public static interface DoubleValueObserver.Builder extends AsynchronousInstrument.Builder
DoubleValueObserver.| Modifier and Type | Method and Description |
|---|---|
DoubleValueObserver |
build()
Builds and returns a
Instrument with the desired options. |
DoubleValueObserver.Builder |
setDescription(String description)
Sets the description of the
Instrument. |
DoubleValueObserver.Builder |
setUnit(String unit)
Sets the unit of the
Instrument. |
DoubleValueObserver.Builder setDescription(String description)
Instrument.BuilderInstrument.
Default value is "".
setDescription in interface Instrument.Builderdescription - the description of the Instrument.DoubleValueObserver.Builder setUnit(String unit)
Instrument.BuilderInstrument.
Default value is "1".
setUnit in interface Instrument.Builderunit - the unit of the Instrument.DoubleValueObserver build()
Instrument.BuilderInstrument with the desired options.build in interface AsynchronousInstrument.Builderbuild in interface Instrument.BuilderInstrument with the desired options.