Interface RetrieveAttributesLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributesNotAccessibleError()
      Creates a ThingErrorResponse specifying that no attribute exists or the requesting user does not have enough permission to retrieve it.
      org.eclipse.ditto.signals.commands.things.query.RetrieveAttributesResponse retrieved​(org.eclipse.ditto.model.things.Attributes attributes)
      Creates a RetrieveAttributesResponse containing the retrieved value for the RetrieveAttributes command.
    • Method Detail

      • retrieved

        @Nonnull
        org.eclipse.ditto.signals.commands.things.query.RetrieveAttributesResponse retrieved​(org.eclipse.ditto.model.things.Attributes attributes)
        Creates a RetrieveAttributesResponse containing the retrieved value for the RetrieveAttributes command.
        Parameters:
        attributes - the value of the attributes.
        Returns:
        the response.
        Throws:
        NullPointerException - if attributes is null.
      • attributesNotAccessibleError

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