Interface ThingTypeMigrationService


  • @NonNullByDefault
    public interface ThingTypeMigrationService
    The ThingTypeMigrationService describes a service to change the thing type of a given Thing.
    Author:
    Andre Fuechsel - Initial contribution
    • Method Detail

      • migrateThingType

        void migrateThingType​(Thing thing,
                              ThingTypeUID thingTypeUID,
                              @Nullable Configuration configuration)
        Changes the type of a given Thing.
        Parameters:
        thing - Thing whose type should be changed
        thingTypeUID - new ThingTypeUID
        configuration - new configuration