Interface ThingTypeMigrationService

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

      • migrateThingType

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