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.JsonFieldsNested 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
FieldsModifier and TypeFieldDescriptionstatic final StringName of this command.static final StringType of this command.static final StringType prefix of this command.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.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 TypeMethodDescriptionprotected voidappendPayload(org.eclipse.ditto.json.JsonObjectBuilder jsonObjectBuilder, org.eclipse.ditto.base.model.json.JsonSchemaVersion schemaVersion, Predicate<org.eclipse.ditto.json.JsonField> predicate) static ResetHealthEventsfromJson(org.eclipse.ditto.json.JsonObject jsonObject, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a newRetrieveHealthcommand from the given JSON object.org.eclipse.ditto.base.model.signals.commands.Command.Categoryorg.eclipse.ditto.json.JsonPointerstatic ResetHealthEventsReturns a newRetrieveHealthinstance.setDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) toString()Methods inherited from class org.eclipse.ditto.base.model.signals.commands.AbstractCommand
canEqual, equals, getDittoHeaders, getManifest, getType, hashCode, toJsonMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
getImplementedSchemaVersion, 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
getName
-
Field Details
-
TYPE_PREFIX
Type prefix of this command.- See Also:
-
NAME
Name of this command.- See Also:
-
TYPE
Type of this command.- See Also:
-
-
Method Details
-
newInstance
Returns a newRetrieveHealthinstance.- 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 newRetrieveHealthcommand 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- ifjsonObjectisnull.
-
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:
appendPayloadin classorg.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>
-
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
-
toString
- Overrides:
toStringin classorg.eclipse.ditto.base.model.signals.commands.AbstractCommand<ResetHealthEvents>
-