Interface LiveCommand<T extends org.eclipse.ditto.signals.commands.base.Command<T>,B extends LiveCommandAnswerBuilder>
-
- Type Parameters:
T- the type of the LiveCommand; currently needed as return type forCommand.setDittoHeaders(DittoHeaders).B- the type of the LiveCommandAnswerBuilder to be returned foranswer().
- All Superinterfaces:
org.eclipse.ditto.signals.commands.base.Command<T>,org.eclipse.ditto.model.base.json.Jsonifiable<org.eclipse.ditto.json.JsonObject>,org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,org.eclipse.ditto.json.JsonField>,org.eclipse.ditto.signals.base.Signal<T>,org.eclipse.ditto.model.base.headers.WithDittoHeaders<T>,org.eclipse.ditto.signals.base.WithId,org.eclipse.ditto.model.base.headers.WithManifest,org.eclipse.ditto.signals.base.WithName,org.eclipse.ditto.signals.base.WithResource,org.eclipse.ditto.model.things.WithThingId,org.eclipse.ditto.signals.base.WithType
- All Known Subinterfaces:
CreateThingLiveCommand,DeleteAttributeLiveCommand,DeleteAttributesLiveCommand,DeleteFeatureDefinitionLiveCommand,DeleteFeatureLiveCommand,DeleteFeaturePropertiesLiveCommand,DeleteFeaturePropertyLiveCommand,DeleteFeaturesLiveCommand,DeleteThingLiveCommand,ModifyAttributeLiveCommand,ModifyAttributesLiveCommand,ModifyFeatureDefinitionLiveCommand,ModifyFeatureLiveCommand,ModifyFeaturePropertiesLiveCommand,ModifyFeaturePropertyLiveCommand,ModifyFeaturesLiveCommand,ModifyThingLiveCommand,RetrieveAttributeLiveCommand,RetrieveAttributesLiveCommand,RetrieveFeatureDefinitionLiveCommand,RetrieveFeatureLiveCommand,RetrieveFeaturePropertiesLiveCommand,RetrieveFeaturePropertyLiveCommand,RetrieveFeaturesLiveCommand,RetrieveThingLiveCommand,RetrieveThingsLiveCommand
- All Known Implementing Classes:
AbstractLiveCommand
public interface LiveCommand<T extends org.eclipse.ditto.signals.commands.base.Command<T>,B extends LiveCommandAnswerBuilder> extends org.eclipse.ditto.signals.commands.base.Command<T>, org.eclipse.ditto.model.things.WithThingIdA Handle for liveCommands giving access to the command. Also provides aCommandspecificLiveCommandAnswerBuilderused for buildingCommandResponses to return andEvents to emit for incoming commands.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.ditto.signals.commands.base.Command
org.eclipse.ditto.signals.commands.base.Command.Category, org.eclipse.ditto.signals.commands.base.Command.JsonFields
-
Nested classes/interfaces inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends Object>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Banswer()Returns a builder for an answer to this command which could include aCommandResponses or anEvent.-
Methods inherited from interface org.eclipse.ditto.signals.commands.base.Command
getCategory, getImplementedSchemaVersion, getTypePrefix, setDittoHeaders, toJson, toJson
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonString
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonString
-
Methods inherited from interface org.eclipse.ditto.model.base.headers.WithDittoHeaders
getDittoHeaders
-
Methods inherited from interface org.eclipse.ditto.signals.base.WithResource
getResourcePath, getResourceType
-
-