Interface LiveCommand<T extends org.eclipse.ditto.base.model.signals.commands.Command<T>,​B extends LiveCommandAnswerBuilder>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.signals.commands.Command

        org.eclipse.ditto.base.model.signals.commands.Command.Category, org.eclipse.ditto.base.model.signals.commands.Command.JsonFields
      • Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends java.lang.Object>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,​T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.eclipse.ditto.base.model.signals.commands.Command

        TYPE_QUALIFIER
      • Fields inherited from interface org.eclipse.ditto.base.model.signals.Signal

        CHANNEL_LIVE, CHANNEL_TWIN
      • Fields inherited from interface org.eclipse.ditto.base.model.signals.WithType

        MESSAGES_COMMAND_RESPONSES_PREFIX, MESSAGES_COMMANDS_PREFIX, POLICY_ANNOUNCEMENT_PREFIX, THINGS_COMMAND_RESPONSES_PREFIX, THINGS_COMMANDS_PREFIX, THINGS_EVENTS_PREFIX
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      B answer()
      Returns a builder for an answer to this command which could include a CommandResponses or an Event.
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.commands.Command

        getCategory, getImplementedSchemaVersion, getTypePrefix, setDittoHeaders, toJson, toJson
      • Methods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonString
      • Methods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate

        toJson, toJsonString, toJsonString
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.Signal

        getName
      • Methods inherited from interface org.eclipse.ditto.base.model.headers.WithDittoHeaders

        getDittoHeaders
      • Methods inherited from interface org.eclipse.ditto.base.model.headers.WithManifest

        getManifest
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.WithResource

        getResourcePath, getResourceType
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.WithType

        getType
    • Method Detail

      • answer

        @Nonnull
        B answer()
        Returns a builder for an answer to this command which could include a CommandResponses or an Event. The answer is emitted automatically for the received Command.
        Returns:
        the LiveCommandAnswerBuilder for building responses and events.