Package org.jreliability.tutorial.boiler
Class Controller
- java.lang.Object
-
- org.jreliability.tutorial.boiler.BoilerComponent
-
- org.jreliability.tutorial.boiler.Controller
-
public class Controller extends BoilerComponent
TheController
models a controlling component that is used for activating the pumps and controlling the water temperature.
-
-
Field Summary
-
Fields inherited from class org.jreliability.tutorial.boiler.BoilerComponent
name
-
-
Constructor Summary
Constructors Constructor Description Controller(java.lang.String name)
Constructs aController
with a given name.
-
Method Summary
-
Methods inherited from class org.jreliability.tutorial.boiler.BoilerComponent
getName, toString
-
-
-
-
Constructor Detail
-
Controller
public Controller(java.lang.String name)
Constructs aController
with a given name.- Parameters:
name
- the name of the controller
-
-