Interface RetrieveFeaturePropertiesLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- RetrieveFeaturePropertiesLiveCommandAnswerBuilder
@ParametersAreNonnullByDefault public static interface RetrieveFeaturePropertiesLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toRetrieveFeaturePropertiescommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.ThingErrorResponsefeaturePropertiesNotAccessibleError()Creates aThingErrorResponsespecifying that no Feature property exist or the requesting user does not have enough permission to retrieve them.org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertiesResponseretrieved(org.eclipse.ditto.model.things.FeatureProperties featureProperties)Creates aRetrieveFeaturePropertiesResponsecontaining the retrieved value for theRetrieveFeaturePropertiescommand.-
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.RetrieveFeaturePropertiesResponse retrieved(org.eclipse.ditto.model.things.FeatureProperties featureProperties)
Creates aRetrieveFeaturePropertiesResponsecontaining the retrieved value for theRetrieveFeaturePropertiescommand.- Parameters:
featureProperties- the value of the requested Feature properties- Returns:
- a response containing the requested value
- Throws:
NullPointerException- iffeaturePropertiesisnull
-
featurePropertiesNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse featurePropertiesNotAccessibleError()
Creates aThingErrorResponsespecifying that no Feature property exist or the requesting user does not have enough permission to retrieve them.- Returns:
- the error response
-
-