Interface DriverData

    • Method Detail

      • driver

        Driver driver()
        Returns the parent device driver.
        Returns:
        device driver
      • deviceId

        DeviceId deviceId()
        Returns the device identifier.
        Returns:
        device identifier
      • behaviour

        default <T extends Behaviour> T behaviour​(Class<T> behaviourClass)
        Returns the specified facet of behaviour to access the device data. Implementations are expected to defer to the backing driver for creation of the requested behaviour.
        Type Parameters:
        T - type of behaviour
        Parameters:
        behaviourClass - behaviour class
        Returns:
        requested behaviour or null if not supported