Interface RetrieveFeaturePropertyLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- RetrieveFeaturePropertyLiveCommandAnswerBuilder
@ParametersAreNonnullByDefault public static interface RetrieveFeaturePropertyLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toRetrieveFeaturePropertycommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.ThingErrorResponsefeaturePropertyNotAccessibleError()Creates an error response specifying that the requested Feature property does not exist or the requesting user does not have enough permission to retrieve them.org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertyResponseretrieved(org.eclipse.ditto.json.JsonValue propertyValue)Creates a success response containing the retrieved value for theRetrieveFeaturePropertycommand.-
Methods inherited from interface org.eclipse.ditto.signals.commands.live.base.LiveCommandResponseFactory
errorResponse, errorResponse, errorResponse
-
-
-
-
Method Detail
-
retrieved
@Nonnull org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertyResponse retrieved(org.eclipse.ditto.json.JsonValue propertyValue)
Creates a success response containing the retrieved value for theRetrieveFeaturePropertycommand.- Parameters:
propertyValue- the value of the requested Feature property.- Returns:
- the response.
- Throws:
NullPointerException- ifpropertyValueisnull.
-
featurePropertyNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse featurePropertyNotAccessibleError()
Creates an error response specifying that the requested Feature property does not exist or the requesting user does not have enough permission to retrieve them.- Returns:
- the response.
-
-