Interface FirmwareRestriction

  • All Known Implementing Classes:
    DeviceProductRestriction

    public interface FirmwareRestriction
    This interface is used to define an abstract firmware download restriction. Firmware restrictions are used by firmware packages (particularly .fw) to introduce requirements that must be met in order to download that firmware.
    • Method Detail

      • meetsRestriction

        boolean meetsRestriction​(Device d)
        This will be called by the firmware downloading functions. If the firmware does not meet the requirements for this device it should return false.
        Parameters:
        d - Device to apply the restriction to.
        Returns:
        True if the restriction is met (or doesn't apply), false otherwise.