net.sf.lavalamp.device
Class AbstractDevice
java.lang.Object
net.sf.lavalamp.device.AbstractDevice
- All Implemented Interfaces:
- Device
- Direct Known Subclasses:
- DummyApp, TellStick, TellStickJni
public abstract class AbstractDevice
- extends Object
- implements Device
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected LavaLogger logger
identity
protected String identity
offPeriod
protected Period offPeriod
properties
protected DeviceProperties properties
AbstractDevice
public AbstractDevice()
getActions
public Actions getActions()
- Specified by:
getActions
in interface Device
setProperties
public void setProperties(DeviceProperties properties)
- Specified by:
setProperties
in interface Device
setAlwaysOffPeriod
public void setAlwaysOffPeriod(Period period)
- Specified by:
setAlwaysOffPeriod
in interface Device
isAlwaysOff
public boolean isAlwaysOff(Calendar now)
- Specified by:
isAlwaysOff
in interface Device
getAlwaysOffPeriod
public Period getAlwaysOffPeriod()
- Specified by:
getAlwaysOffPeriod
in interface Device
Copyright © 2010. All Rights Reserved.