public interface DriverData extends MutableAnnotations
MutableAnnotations.
Note that only derivatives of HandlerBehaviour can expect mutability
from the backing driver data instance; other behaviours must rely on
immutable Annotations only.| Modifier and Type | Method and Description |
|---|---|
default <T extends Behaviour> |
behaviour(Class<T> behaviourClass)
Returns the specified facet of behaviour to access the device data.
|
DeviceId |
deviceId()
Returns the device identifier.
|
Driver |
driver()
Returns the parent device driver.
|
clear, setkeys, valueDriver driver()
DeviceId deviceId()
default <T extends Behaviour> T behaviour(Class<T> behaviourClass)
T - type of behaviourbehaviourClass - behaviour class