Package org.jreliability.tutorial.boiler
Class Sensor
java.lang.Object
org.jreliability.tutorial.boiler.BoilerComponent
org.jreliability.tutorial.boiler.Sensor
The
Sensor models a sensor component in the boiler that measures and
collects the data of the water temperature.-
Field Summary
Fields inherited from class org.jreliability.tutorial.boiler.BoilerComponent
name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jreliability.tutorial.boiler.BoilerComponent
getName, toString
-
Constructor Details
-
Sensor
Constructs aSensorwith a given name.- Parameters:
name- the name of the sensor
-