Interface DeleteThingLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- DeleteThingLiveCommandAnswerBuilder
public static interface DeleteThingLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponse
s toDeleteThing
command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.things.model.signals.commands.modify.DeleteThingResponse
deleted()
Builds aDeleteThingResponse
using the values of theCommand
.org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse
thingNotAccessibleError()
Builds aThingErrorResponse
indicating that the Thing was not accessible.org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse
thingNotDeletableError()
Builds aThingErrorResponse
indicating that the Thing was not deletable.-
Methods inherited from interface org.eclipse.ditto.client.live.commands.base.LiveCommandResponseFactory
errorResponse, errorResponse
-
-
-
-
Method Detail
-
deleted
@Nonnull org.eclipse.ditto.things.model.signals.commands.modify.DeleteThingResponse deleted()
Builds aDeleteThingResponse
using the values of theCommand
.- Returns:
- the response.
-
thingNotAccessibleError
@Nonnull org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse thingNotAccessibleError()
Builds aThingErrorResponse
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 aThingErrorResponse
indicating that the Thing was not deletable.- Returns:
- the response.
- See Also:
ThingNotDeletableException
-
-