Interface ModifyFeatureDefinitionLiveCommandAnswerBuilder.ResponseFactory

    • Method Summary

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

      • created

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

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

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse featureDefinitionNotAccessibleError()
        Builds a ThingErrorResponse indicating that the Feature Definition was not accessible.
        Returns:
        the response.
        See Also:
        FeatureDefinitionNotAccessibleException
      • featureDefinitionNotModifiableError

        @Nonnull
        org.eclipse.ditto.signals.commands.things.ThingErrorResponse featureDefinitionNotModifiableError()
        Builds a ThingErrorResponse indicating that the Feature Definition was not modifiable.
        Returns:
        the response.
        See Also:
        FeatureDefinitionNotModifiableException