Package | Description |
---|---|
biology.spectro.domain |
Modifier and Type | Class and Description |
---|---|
class |
OffOccupiedClosed
this class includes operations under state(off,occupied,closed)
because the switch is off, the measure method does nothing and
reading doesn't change.
|
class |
OffOccupiedOpen
this class includes operations under state(off,occupied,open)
because the switch is off, the measure method does nothing and
reading doesn't change.
|
class |
OffUnoccupiedClosed
this class includes operations under state(off,unoccupied,closed),
which is the original state of the device.
|
class |
OffUnoccupiedOpen
this class includes operations under state(Off,Unoccupied,Open)
because the switch is off, the measure method does nothing and
reading doesn't change.
|
class |
OnOccupiedClosed
This class includes operations under state(On,occupied,closed),
which is a correct state for measurement.
|
class |
OnOccupiedOpen
This class includes operations under state(On,occupied,Open),
|
class |
OnUnoccupiedClosed
This class includes operations under state(On,occupied,closed),
|
class |
OnUnoccupiedOpen
This class includes operations under state(On,Unoccupied,closed),
|
Modifier and Type | Method and Description |
---|---|
void |
StateListener.setState(SpectroState state) |
void |
SpectroBehavior.setState(SpectroState spectroState)
Sets state
|