Interface ThingBuilder


public interface ThingBuilder
Builder for instances of Thing which uses Object Scoping and Method Chaining to provide a convenient usage experience.
  • Method Details

    • generateRandomTypedThingId

      static ThingId generateRandomTypedThingId()
      Generates a random Thing ID without namespace.
      Returns:
      the ID
    • generateRandomTypedThingId

      static ThingId generateRandomTypedThingId(@Nullable String namespace)
      Generates a random Thing ID with a specified namespace
      Parameters:
      namespace - the specified namespace
      Returns:
      the ID
      Since:
      3.0.0