Interface | osid.control.Trigger | ||
---|---|---|---|
Implements | osid.OsidRule | ||
osid.Subjugateable | |||
Description |
A | ||
Method | getControllerId | ||
Description |
Gets the controller | ||
Return | osid.id.Id | the controller Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getController | ||
Description |
Gets the controller. | ||
Return | osid.control.Controller | the controller | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | turnedOn | ||
Description |
Tests if this trigger listens to controller ON events. | ||
Return | boolean | true if this is an ON event listener, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | turnedOff | ||
Description |
Tests if this trigger listens to controller OFF events. | ||
Return | boolean | true if this is an OFF event listener, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | changedVariableAmount | ||
Description |
Tests if this trigger listens to changed variable amount controller events. | ||
Return | boolean | true if this is a change event listener, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | changedExceedsVariableAmount | ||
Description |
Tests if this trigger listens to events where the variable amount or percentage increased to the same or above this value. | ||
Return | decimal | the max threshold | |
Compliance | mandatory | This method must be implemented. | |
Method | changedDeceedsVariableAmount | ||
Description |
Tests if this trigger listens to events where the variable amount or percentage decreased to the same or below this value. | ||
Return | decimal | the max threshold | |
Compliance | mandatory | This method must be implemented. | |
Method | changedDiscreetState | ||
Description |
Tests if this trigger listens to controller state changes. | ||
Return | boolean | true if this is a state change event listener, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | changedToDiscreetState | ||
Description |
Tests if this trigger listens to controller events where a state has changed to a specific state. | ||
Return | boolean | true if this is a state change event, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getDiscreetStateId | ||
Description |
Gets the discreet | ||
Return | osid.id.Id | the state Id | |
Errors | ILLEGAL_STATE | changedToDiscreetState() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getDiscreetState | ||
Description |
Gets the discreet | ||
Return | osid.process.State | the state | |
Errors | ILLEGAL_STATE | changedToDiscreetState() is false | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActionGroupIds | ||
Description |
Gets the | ||
Return | osid.id.IdList | the action group Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getActionGroups | ||
Description |
Gets the | ||
Return | osid.control.ActionGroupList | the action group | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getSceneIds | ||
Description |
Gets the | ||
Return | osid.id.IdList | the scene Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getScenes | ||
Description |
Gets the | ||
Return | osid.control.SceneList | the action group | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getSettingIds | ||
Description |
Gets the | ||
Return | osid.id.IdList | the setting Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getSettings | ||
Description |
Gets the | ||
Return | osid.control.SettingList | the action group | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerRecord | ||
Description |
Gets the trigger record corresponding to the given
| ||
Parameters | osid.type.Type | triggerRecordType | the type of trigger record to retrieve |
Return | osid.control.records.TriggerRecord | the trigger record | |
Errors | NULL_ARGUMENT | triggerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(triggerRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |