Interface ModifyThingLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- ModifyThingLiveCommandAnswerBuilder
public static interface ModifyThingLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toModifyThingcommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponsecreated()Builds a "created"ModifyThingResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponsemodified()Builds a "modified"ModifyThingResponseusing 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.ThingErrorResponsethingNotModifiableError()Builds aThingErrorResponseindicating that the Thing was not modifiable.-
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.ModifyThingResponse created()
Builds a "created"ModifyThingResponseusing the values of theCommand.- Returns:
- the response.
-
modified
@Nonnull org.eclipse.ditto.signals.commands.things.modify.ModifyThingResponse modified()
Builds a "modified"ModifyThingResponseusing 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
-
thingNotModifiableError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingNotModifiableError()
Builds aThingErrorResponseindicating that the Thing was not modifiable.- Returns:
- the response.
- See Also:
ThingNotModifiableException
-
-