Interface RetrieveAttributeLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse attributeNotAccessibleError()
      Creates a ThingErrorResponse specifying that the requested attribute does not exist or the requesting user does not have enough permission to retrieve it.
      org.eclipse.ditto.things.model.signals.commands.query.RetrieveAttributeResponse retrieved​(org.eclipse.ditto.json.JsonValue attributeValue)
      Creates a RetrieveAttributeResponse containing the retrieved value for the RetrieveAttribute command.
    • Method Detail

      • retrieved

        @Nonnull
        org.eclipse.ditto.things.model.signals.commands.query.RetrieveAttributeResponse retrieved​(org.eclipse.ditto.json.JsonValue attributeValue)
        Creates a RetrieveAttributeResponse containing the retrieved value for the RetrieveAttribute command.
        Parameters:
        attributeValue - the value of the requested attribute.
        Returns:
        the response.
        Throws:
        java.lang.NullPointerException - if attributeValue is null
      • attributeNotAccessibleError

        @Nonnull
        org.eclipse.ditto.things.model.signals.commands.ThingErrorResponse attributeNotAccessibleError()
        Creates a ThingErrorResponse specifying that the requested attribute does not exist or the requesting user does not have enough permission to retrieve it.
        Returns:
        the response.