Interface DeleteThingLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.things.model.signals.commands.modify.DeleteThingResponse deleted()
      Builds a DeleteThingResponse using the values of the Command.
      org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse thingNotAccessibleError()
      Builds a ThingErrorResponse indicating that the Thing was not accessible.
      org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse thingNotDeletableError()
      Builds a ThingErrorResponse indicating that the Thing was not deletable.
    • Method Detail

      • deleted

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

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

        @Nonnull
        org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse thingNotDeletableError()
        Builds a ThingErrorResponse indicating that the Thing was not deletable.
        Returns:
        the response.
        See Also:
        ThingNotDeletableException