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
    Author:
    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
        Parameters:
        scope - the action scope
        thingUid - the UID of the thing
        Returns:
        actions the actions instance or null, if not available