Interface ModifyAttributeLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotAccessibleError()
      Builds a ThingErrorResponse indicating that the attribute was not accessible.
      org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotModifiableError()
      Builds a ThingErrorResponse indicating that the attribute was not modifiable.
      org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse created()
      Builds a "created" ModifyAttributeResponse using the values of the Command.
      org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse modified()
      Builds a "modified" ModifyAttributeResponse using the values of the Command.
    • Method Detail

      • created

        @Nonnull
        org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse created()
        Builds a "created" ModifyAttributeResponse using the values of the Command.
        Returns:
        the response.
      • modified

        @Nonnull
        org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse modified()
        Builds a "modified" ModifyAttributeResponse using the values of the Command.
        Returns:
        the response.
      • attributeNotAccessibleError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotAccessibleError()
        Builds a ThingErrorResponse indicating that the attribute was not accessible.
        Returns:
        the response.
        See Also:
        AttributeNotAccessibleException
      • attributeNotModifiableError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotModifiableError()
        Builds a ThingErrorResponse indicating that the attribute was not modifiable.
        Returns:
        the response.
        See Also:
        AttributeNotModifiableException