Interface ThingModifyCommand<T extends ThingModifyCommand<T>>

    • Nested Class Summary

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

        org.eclipse.ditto.signals.commands.base.Command.Category
      • 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>
    • Field Summary

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

        TYPE_QUALIFIER
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean changesAuthorization()
      Checks whether this command may change authorization of the Thing.
      T setDittoHeaders​(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)  
      • Methods inherited from interface org.eclipse.ditto.signals.commands.base.Command

        getCategory, getImplementedSchemaVersion, 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.signals.base.Signal

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

        getDittoHeaders
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithId

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

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

        getEntity, getEntity
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithResource

        getResourcePath
      • Methods inherited from interface org.eclipse.ditto.model.things.WithThingId

        getThingEntityId, getThingId
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithType

        getType
    • Method Detail

      • setDittoHeaders

        T setDittoHeaders​(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.signals.commands.base.Command<T extends ThingModifyCommand<T>>
        Specified by:
        setDittoHeaders in interface ThingCommand<T extends ThingModifyCommand<T>>
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingModifyCommand<T>>
      • changesAuthorization

        boolean changesAuthorization()
        Checks whether this command may change authorization of the Thing.
        Returns:
        true if authorization would change, false otherwise.