Interface ModifyThingLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponse created()
      Builds a "created" ModifyThingResponse using the values of the Command.
      org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponse modified()
      Builds a "modified" ModifyThingResponse using the values of the Command.
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotAccessibleError()
      Builds a ThingErrorResponse indicating that the Thing was not accessible.
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotModifiableError()
      Builds a ThingErrorResponse indicating that the Thing was not modifiable.
    • Method Detail

      • created

        @Nonnull
        org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponse created()
        Builds a "created" ModifyThingResponse using the values of the Command.
        Returns:
        the response.
      • modified

        @Nonnull
        org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponse modified()
        Builds a "modified" ModifyThingResponse using the values of the Command.
        Returns:
        the response.
      • thingNotAccessibleError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotAccessibleError()
        Builds a ThingErrorResponse indicating that the Thing was not accessible.
        Returns:
        the response.
        See Also:
        ThingNotAccessibleException
      • thingNotModifiableError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotModifiableError()
        Builds a ThingErrorResponse indicating that the Thing was not modifiable.
        Returns:
        the response.
        See Also:
        ThingNotModifiableException