Interface RetrieveFeaturePropertyLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertyResponse retrieved​(org.eclipse.ditto.json.JsonValue propertyValue)
      Creates a success response containing the retrieved value for the RetrieveFeatureProperty command.
    • 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 the RetrieveFeatureProperty command.
        Parameters:
        propertyValue - the value of the requested Feature property.
        Returns:
        the response.
        Throws:
        NullPointerException - if propertyValue is null.
      • 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.