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

A TriggerEnabler describes the rules for making a Trigger effective.

MethodgetTriggerEnablerRecord
Description

Gets the trigger enabler record corresponding to the given TriggerEnabler 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.TypetriggerEnablerRecordTypethe type of trigger enabler record to retrieve
Returnosid.control.rules.records.TriggerEnablerRecordthe trigger enabler record
ErrorsNULL_ARGUMENT triggerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(triggerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.