Class ScriptServiceUtil

java.lang.Object
org.openhab.core.model.script.ScriptServiceUtil

public class ScriptServiceUtil extends Object
Utility class for providing easy access to script services.
Author:
Davy Vanherbergen - Initial contribution, Kai Kreuzer - renamed and removed interface
  • Field Details

  • Constructor Details

  • Method Details

    • deactivate

      public void deactivate()
    • getItemRegistry

      public static ItemRegistry getItemRegistry()
    • getItemRegistryInstance

      public ItemRegistry getItemRegistryInstance()
    • getThingRegistryInstance

      public ThingRegistry getThingRegistryInstance()
    • getEventPublisher

      public static EventPublisher getEventPublisher()
    • getModelRepository

      public static ModelRepository getModelRepository()
    • getModelRepositoryInstance

      public ModelRepository getModelRepositoryInstance()
    • getScheduler

      public static Scheduler getScheduler()
    • getSchedulerInstance

      public Scheduler getSchedulerInstance()
    • getScriptEngine

      public static ScriptEngine getScriptEngine()
    • getActionServices

      public static List<ActionService> getActionServices()
    • getThingActions

      public static List<ThingActions> getThingActions()
    • getActionServiceInstances

      public List<ActionService> getActionServiceInstances()
    • getThingActionsInstances

      public List<ThingActions> getThingActionsInstances()
    • addActionService

      public void addActionService(ActionService actionService)
    • removeActionService

      public void removeActionService(ActionService actionService)
    • addThingActions

      public void addThingActions(ThingActions thingActions)
    • removeThingActions

      public void removeThingActions(ThingActions thingActions)
    • setScriptEngine

      public void setScriptEngine(ScriptEngine scriptEngine)
    • unsetScriptEngine

      public void unsetScriptEngine(ScriptEngine scriptEngine)