OSID Logo
OSID Specifications
control rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.rules.DeviceEnabler
Implementsosid.OsidEnabler
Description

A DeviceEnabler describes the rules for making an Trigger effective.

MethodgetDeviceEnablerRecord
Description

Gets the device enabler record corresponding to the given DeviceEnabler record Type. This method is used to retrieve an object implementing the requested record. The deviceEnablerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(deviceEnablerRecordType) is true .

Parametersosid.type.TypedeviceEnablerRecordTypethe type of device enabler record to retrieve
Returnosid.control.rules.records.DeviceEnablerRecordthe device enabler record
ErrorsNULL_ARGUMENT deviceEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(deviceEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.