Package org.eclipse.ditto.signals.base
-
Interface Summary Interface Description ErrorRegistry<T extends org.eclipse.ditto.model.base.exceptions.DittoRuntimeException> An error registry is aware of a set ofDittoRuntimeException
s which the registry can parse from aJsonObject
.JsonParsable<T> Classes which implement this interface are able to parseJsonParsable
from aJsonObject
andDittoHeaders
.JsonParsable.ParseInnerJson Functional interface to parse inner JSON for nested Jsonifiable.JsonParsableRegistry<T> A registry is aware of a set ofJsonParsable
s which the registry can parse from aJsonObject
.Signal<T extends Signal<T>> A service message that incites to action or conveys notice or warning.WithFeatureId Implementations of this interface are associated to aFeature
identified by the value returned fromWithFeatureId.getFeatureId()
.WithId Implementations of this interface are associated to an entity identified by the value returned fromWithId.getEntityId()
.WithIdButActuallyNot This is a temporary fix for the use of theWithId
interface where it should not have been used because actually there is not an ID.WithName Implementations of this interface are associated to an entity identified by the value returned fromWithName.getName()
.WithOptionalEntity Implementations of this interface are associated to an entity returned fromWithOptionalEntity.getEntity(JsonSchemaVersion)
.WithResource Implementations of this interface are associated with an entity represented by a resource path and type.WithType Implementations of this interface are associated to an entity identified by the value returned fromgetType()
. -
Class Summary Class Description AbstractAnnotationBasedJsonParsableFactory<T,A extends Annotation> Responsible to build anAnnotationBasedJsonParsable
from a given annotation.AbstractGlobalJsonParsableRegistry<T,A extends Annotation> Responsible for collecting allAnnotationBasedJsonParsable
for subclasses of T.AbstractJsonParsableRegistry<T> Abstract implementation ofJsonParsableRegistry
.DateTimeUtil ISO 8601 formatters.GlobalErrorRegistry Contains all strategies to deserialize subclasses ofDittoRuntimeException
from a combination ofJsonObject
andDittoHeaders
.JsonTypeNotParsableException.Builder A mutable builder with a fluent API for aJsonTypeNotParsableException
.MergeToggle Decides based on the system property "ditto.devops.feature.merge-things-enabled" whether the merge thing feature is enabled and throws anUnsupportedSignalException
if the property is set tofalse
.ShardedMessageEnvelope A message envelope for messages to PersistenceActors which do not contain itself an ID.UnsupportedSchemaVersionException.Builder A mutable builder with a fluent API for aUnsupportedSchemaVersionException
.UnsupportedSignalException.Builder A mutable builder with a fluent API for aUnsupportedSignalException
. -
Exception Summary Exception Description JsonTypeNotParsableException Thrown if a JSON string or object could not be parsed as it was unexpected/unknown.UnsupportedSchemaVersionException Thrown if aSignal
is not supported by the version called.UnsupportedSignalException Thrown if aSignal
is not supported. -
Error Summary Error Description DeserializationStrategyNotFoundError An error class for reporting the fact that for a particular type a deserialization strategy could not be found.