Interface ModifyFeatureLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- ModifyFeatureLiveCommandAnswerBuilder
public static interface ModifyFeatureLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toModifyFeaturecommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.modify.ModifyFeatureResponsecreated()Builds a "created"ModifyFeatureResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.ThingErrorResponsefeatureNotAccessibleError()Builds aThingErrorResponseindicating that the feature was not accessible.org.eclipse.ditto.signals.commands.things.ThingErrorResponsefeatureNotModifiableError()Builds aThingErrorResponseindicating that the feature was not modifiable.org.eclipse.ditto.signals.commands.things.modify.ModifyFeatureResponsemodified()Builds a "modified"ModifyFeatureResponseusing the values of theCommand.-
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.ModifyFeatureResponse created()
Builds a "created"ModifyFeatureResponseusing the values of theCommand.- Returns:
- the response.
-
modified
@Nonnull org.eclipse.ditto.signals.commands.things.modify.ModifyFeatureResponse modified()
Builds a "modified"ModifyFeatureResponseusing the values of theCommand.- Returns:
- the response.
-
featureNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse featureNotAccessibleError()
Builds aThingErrorResponseindicating that the feature was not accessible.- Returns:
- the response.
- See Also:
FeatureNotAccessibleException
-
featureNotModifiableError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse featureNotModifiableError()
Builds aThingErrorResponseindicating that the feature was not modifiable.- Returns:
- the response.
- See Also:
FeatureNotModifiableException
-
-