Interface ScriptThingActions

  • @NonNullByDefault
    public interface ScriptThingActions
    The methods of this class are made available as functions in the scripts. Note: This class is a copy from the ThingActionService class
    Kai Kreuzer - Initial contribution, Jan N. Klug - Refactored to interface
    • Method Detail

      • get

        @Nullable ThingActions get​(@Nullable String scope,
                                   @Nullable String thingUid)
        Gets an actions instance of a certain scope for a given thing UID
        scope - the action scope
        thingUid - the UID of the thing
        actions the actions instance or null, if not available