Interface CreateThingLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- CreateThingLiveCommandAnswerBuilder
public static interface CreateThingLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toCreateThingcommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.modify.CreateThingResponsecreated()Creates aCreateThingResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.ThingErrorResponsethingConflictError()Creates aThingErrorResponseindicating a conflict.-
Methods inherited from interface org.eclipse.ditto.signals.commands.live.base.LiveCommandResponseFactory
errorResponse, errorResponse, errorResponse
-
-
-
-
Method Detail
-
created
@Nonnull org.eclipse.ditto.signals.commands.things.modify.CreateThingResponse created()
Creates aCreateThingResponseusing the values of theCommand.- Returns:
- the response.
-
thingConflictError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingConflictError()
Creates aThingErrorResponseindicating a conflict.- Returns:
- the response.
- See Also:
ThingConflictException
-
-