Interface RetrieveFeaturesLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse featuresNotAccessibleError()
      Creates an error response specifying that no Features exist or the requesting user does not have enough permission to retrieve them.
      org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturesResponse retrieved​(org.eclipse.ditto.model.things.Features features)
      Creates a success response containing the retrieved value for the RetrieveFeatures command.
    • Method Detail

      • retrieved

        @Nonnull
        org.eclipse.ditto.signals.commands.things.query.RetrieveFeaturesResponse retrieved​(org.eclipse.ditto.model.things.Features features)
        Creates a success response containing the retrieved value for the RetrieveFeatures command.
        Parameters:
        features - the value of the requested Features.
        Returns:
        the response.
        Throws:
        NullPointerException - if features is null.
      • featuresNotAccessibleError

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