Interface ThingSudoCommand<T extends ThingSudoCommand<T>>
- Type Parameters:
T- the type of the implementing class.
- All Superinterfaces:
org.eclipse.ditto.base.model.signals.commands.Command<T>,org.eclipse.ditto.base.model.headers.DittoHeadersSettable<T>,org.eclipse.ditto.base.model.json.Jsonifiable<org.eclipse.ditto.json.JsonObject>,org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,,org.eclipse.ditto.json.JsonField> org.eclipse.ditto.base.model.signals.Signal<T>,org.eclipse.ditto.base.api.commands.sudo.SudoCommand<T>,org.eclipse.ditto.base.model.headers.WithDittoHeaders,org.eclipse.ditto.base.model.headers.WithManifest,org.eclipse.ditto.base.model.signals.WithName,org.eclipse.ditto.base.model.signals.WithResource,org.eclipse.ditto.base.model.signals.WithType
- All Known Implementing Classes:
SudoRetrieveThing,SudoRetrieveThings
public interface ThingSudoCommand<T extends ThingSudoCommand<T>>
extends org.eclipse.ditto.base.api.commands.sudo.SudoCommand<T>
Aggregates all thing sudo commands.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn enumeration of the knownJsonFields of a Thing command.Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
org.eclipse.ditto.base.model.signals.commands.Command.CategoryNested 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>, 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> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThing sudo resource type.static final StringType Prefix of Sudo commands.Fields inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
TYPE_QUALIFIERFields inherited from interface org.eclipse.ditto.base.model.signals.Signal
CHANNEL_LIVE, CHANNEL_TWINFields inherited from interface org.eclipse.ditto.base.api.commands.sudo.SudoCommand
SUDO_TYPE_QUALIFIERFields 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
Modifier and TypeMethodDescriptiondefault Stringdefault StringsetDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Methods inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
getCategory, getImplementedSchemaVersion, toJson, toJsonMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.signals.Signal
getNameMethods inherited from interface org.eclipse.ditto.base.api.commands.sudo.SudoCommand
getResourcePathMethods inherited from interface org.eclipse.ditto.base.model.headers.WithDittoHeaders
getDittoHeadersMethods inherited from interface org.eclipse.ditto.base.model.headers.WithManifest
getManifestMethods inherited from interface org.eclipse.ditto.base.model.signals.WithType
getType
-
Field Details
-
TYPE_PREFIX
Type Prefix of Sudo commands.- See Also:
-
RESOURCE_TYPE
Thing sudo resource type.- See Also:
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceorg.eclipse.ditto.base.model.signals.WithResource
-
getTypePrefix
- Specified by:
getTypePrefixin interfaceorg.eclipse.ditto.base.model.signals.commands.Command<T extends ThingSudoCommand<T>>
-
setDittoHeaders
- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.signals.commands.Command<T extends ThingSudoCommand<T>>- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.headers.DittoHeadersSettable<T extends ThingSudoCommand<T>>- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.api.commands.sudo.SudoCommand<T extends ThingSudoCommand<T>>
-