Interface DeleteThingLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- DeleteThingLiveCommandAnswerBuilder
public static interface DeleteThingLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toDeleteThingcommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.modify.DeleteThingResponsedeleted()Builds aDeleteThingResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.ThingErrorResponsethingNotAccessibleError()Builds aThingErrorResponseindicating that the Thing was not accessible.org.eclipse.ditto.signals.commands.things.ThingErrorResponsethingNotDeletableError()Builds aThingErrorResponseindicating that the Thing was not deletable.-
Methods inherited from interface org.eclipse.ditto.signals.commands.live.base.LiveCommandResponseFactory
errorResponse, errorResponse, errorResponse
-
-
-
-
Method Detail
-
deleted
@Nonnull org.eclipse.ditto.signals.commands.things.modify.DeleteThingResponse deleted()
Builds aDeleteThingResponseusing the values of theCommand.- Returns:
- the response.
-
thingNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotAccessibleError()
Builds aThingErrorResponseindicating that the Thing was not accessible.- Returns:
- the response.
- See Also:
ThingNotAccessibleException
-
thingNotDeletableError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotDeletableError()
Builds aThingErrorResponseindicating that the Thing was not deletable.- Returns:
- the response.
- See Also:
ThingNotDeletableException
-
-