Interface RetrieveFeaturePropertiesLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse featurePropertiesNotAccessibleError()
      Creates a ThingErrorResponse specifying that no Feature property exist or the requesting user does not have enough permission to retrieve them.
      org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertiesResponse retrieved​(org.eclipse.ditto.model.things.FeatureProperties featureProperties)
      Creates a RetrieveFeaturePropertiesResponse containing the retrieved value for the RetrieveFeatureProperties command.
    • Method Detail

      • retrieved

        @Nonnull
        org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturePropertiesResponse retrieved​(org.eclipse.ditto.model.things.FeatureProperties featureProperties)
        Creates a RetrieveFeaturePropertiesResponse containing the retrieved value for the RetrieveFeatureProperties command.
        Parameters:
        featureProperties - the value of the requested Feature properties
        Returns:
        a response containing the requested value
        Throws:
        NullPointerException - if featureProperties is null
      • featurePropertiesNotAccessibleError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse featurePropertiesNotAccessibleError()
        Creates a ThingErrorResponse specifying that no Feature property exist or the requesting user does not have enough permission to retrieve them.
        Returns:
        the error response