public class BasicDeviceConfig extends BasicElementConfig<DeviceId>
| Modifier and Type | Field and Description |
|---|---|
static String |
DRIVER |
static String |
TYPE |
DEFAULT_COORD, LATITUDE, LONGITUDE, NAME, OWNER, RACK_ADDRESS| Constructor and Description |
|---|
BasicDeviceConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
driver()
Returns the device driver name.
|
BasicElementConfig |
driver(String driverName)
Sets the driver name.
|
Device.Type |
type()
Returns the device type.
|
BasicDeviceConfig |
type(Device.Type type)
Sets the device type.
|
latitude, latitude, longitude, longitude, name, name, owner, owner, rackAddress, rackAddressisAllowed, isAllowedapply, get, get, get, get, get, get, getList, init, key, node, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectpublic static final String TYPE
public static final String DRIVER
public Device.Type type()
public BasicDeviceConfig type(Device.Type type)
type - device type overridepublic String driver()
public BasicElementConfig driver(String driverName)
driverName - new driver name; null to clearCopyright © 2015. All rights reserved.