Class ScriptedAutomationManager
java.lang.Object
org.openhab.core.automation.module.script.rulesupport.shared.ScriptedAutomationManager
This Registry is used for a single ScriptEngine instance. It allows the adding and removing of handlers.
It allows the removal of previously added modules on unload.
- Author:
- Simon Merschjohann - Initial contribution
-
Constructor Summary
ConstructorsConstructorDescriptionScriptedAutomationManager(RuleSupportRuleRegistryDelegate ruleRegistryDelegate, org.openhab.core.automation.module.script.rulesupport.internal.ScriptedCustomModuleHandlerFactory scriptedCustomModuleHandlerFactory, org.openhab.core.automation.module.script.rulesupport.internal.ScriptedCustomModuleTypeProvider scriptedCustomModuleTypeProvider, org.openhab.core.automation.module.script.rulesupport.internal.ScriptedPrivateModuleHandlerFactory scriptedPrivateModuleHandlerFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionHandler(String uid, ScriptedHandler actionHandler) voidaddActionType(ActionType actionType) voidaddConditionHandler(String uid, ScriptedHandler conditionHandler) voidaddConditionType(ConditionType conditionType) addPrivateActionHandler(SimpleActionHandler actionHandler) addPrivateConditionHandler(SimpleConditionHandler conditionHandler) addPrivateTriggerHandler(SimpleTriggerHandler triggerHandler) voidaddTriggerHandler(String uid, ScriptedHandler triggerHandler) voidaddTriggerType(TriggerType triggerType) addUnmanagedRule(Rule element) voidvoidremoveHandler(String typeUID) voidremoveModuleType(String uid) voidremovePrivateHandler(String privId)
-
Constructor Details
-
Method Details
-
removeModuleType
-
removeHandler
-
removePrivateHandler
-
removeAll
public void removeAll() -
addRule
-
addUnmanagedRule
-
addConditionType
-
addActionType
-
addTriggerType
-