Class ResetHealthEvents

java.lang.Object
org.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>
org.eclipse.ditto.internal.utils.health.ResetHealthEvents
All Implemented Interfaces:
org.eclipse.ditto.base.model.headers.DittoHeadersSettable<ResetHealthEvents>, org.eclipse.ditto.base.model.headers.WithDittoHeaders, org.eclipse.ditto.base.model.headers.WithManifest, 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.commands.Command<ResetHealthEvents>, org.eclipse.ditto.base.model.signals.Signal<ResetHealthEvents>, org.eclipse.ditto.base.model.signals.WithName, org.eclipse.ditto.base.model.signals.WithResource, org.eclipse.ditto.base.model.signals.WithType

@Immutable public final class ResetHealthEvents extends org.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>
Internal command to reset the health events of underlying systems.
  • 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 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 Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of this command.
    static final String
    Type of this command.
    static final String
    Type prefix of this command.

    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

    Modifier and Type
    Method
    Description
    protected void
    appendPayload(org.eclipse.ditto.json.JsonObjectBuilder jsonObjectBuilder, org.eclipse.ditto.base.model.json.JsonSchemaVersion schemaVersion, Predicate<org.eclipse.ditto.json.JsonField> predicate)
     
    fromJson(org.eclipse.ditto.json.JsonObject jsonObject, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)
    Creates a new RetrieveHealth command from the given JSON object.
    org.eclipse.ditto.base.model.signals.commands.Command.Category
     
    org.eclipse.ditto.json.JsonPointer
     
     
     
    Returns a new RetrieveHealth instance.
    setDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)
     
     

    Methods inherited from class org.eclipse.ditto.base.model.signals.commands.AbstractCommand

    canEqual, equals, getDittoHeaders, getManifest, getType, hashCode, toJson

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

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

    getImplementedSchemaVersion, 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
  • Field Details

  • Method Details

    • newInstance

      public static ResetHealthEvents newInstance()
      Returns a new RetrieveHealth instance.
      Returns:
      the new RetrieveHealth instance.
    • fromJson

      public static ResetHealthEvents fromJson(org.eclipse.ditto.json.JsonObject jsonObject, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)
      Creates a new RetrieveHealth command from the given JSON object.
      Parameters:
      jsonObject - the JSON object of which the Cleanup is to be created.
      dittoHeaders - the headers.
      Returns:
      the command.
      Throws:
      NullPointerException - if jsonObject is null.
    • appendPayload

      protected void appendPayload(org.eclipse.ditto.json.JsonObjectBuilder jsonObjectBuilder, org.eclipse.ditto.base.model.json.JsonSchemaVersion schemaVersion, Predicate<org.eclipse.ditto.json.JsonField> predicate)
      Specified by:
      appendPayload in class org.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>
    • getTypePrefix

      public String getTypePrefix()
    • getCategory

      public org.eclipse.ditto.base.model.signals.commands.Command.Category getCategory()
    • setDittoHeaders

      public ResetHealthEvents setDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)
    • getResourcePath

      public org.eclipse.ditto.json.JsonPointer getResourcePath()
    • getResourceType

      public String getResourceType()
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>