| Modifier and Type | Interface and Description |
|---|---|
interface |
JsonifiableAdaptable
Adaptable which is also Jsonifiable (e.g. |
| Modifier and Type | Method and Description |
|---|---|
Adaptable |
AdaptableBuilder.build()
Creates a new
Adaptable from the previously set values. |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.Command<?> command)
Maps the given
command to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.Command<?> command) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.Command<?> command,
TopicPath.Channel channel)
Maps the given
command to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.Command<?> command,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.CommandResponse<?> commandResponse)
Maps the given
CommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.CommandResponse<?> commandResponse) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.CommandResponse<?> commandResponse,
TopicPath.Channel channel)
Maps the given
CommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.base.CommandResponse<?> commandResponse,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.base.Event<?> event)
Maps the given
event to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.base.Event<?> event) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.base.Event<?> event,
TopicPath.Channel channel)
Maps the given
event to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.base.Event<?> event,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.messages.MessageCommand<?,?> messageCommand)
Maps the given
messageCommand to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.messages.MessageCommand<?,?> messageCommand) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.messages.MessageCommandResponse<?,?> messageCommandResponse)
Maps the given
messageCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.messages.MessageCommandResponse<?,?> messageCommandResponse) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.base.Signal<?> signal)
Maps the given
Signal to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.base.Signal<?> signal) |
default Adaptable |
Adapter.toAdaptable(T t)
|
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingCommandResponse<?> thingCommandResponse)
Maps the given
ThingCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingCommandResponse<?> thingCommandResponse) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingCommandResponse<?> thingCommandResponse,
TopicPath.Channel channel)
Maps the given
ThingCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingCommandResponse<?> thingCommandResponse,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingErrorResponse,
TopicPath.Channel channel)
Maps the given
thingErrorResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.ThingErrorResponse thingErrorResponse,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.things.ThingEvent<?> thingEvent)
Maps the given
thingEvent to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.things.ThingEvent<?> thingEvent) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.things.ThingEvent<?> thingEvent,
TopicPath.Channel channel)
Maps the given
thingEvent to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.events.things.ThingEvent<?> thingEvent,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommand<?> thingModifyCommand)
Maps the given
thingModifyCommand to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommand<?> thingModifyCommand) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommand<?> thingModifyCommand,
TopicPath.Channel channel)
Maps the given
thingModifyCommand to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommand<?> thingModifyCommand,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommandResponse<?> thingModifyCommandResponse)
Maps the given
thingModifyCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommandResponse<?> thingModifyCommandResponse) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommandResponse<?> thingModifyCommandResponse,
TopicPath.Channel channel)
Maps the given
thingModifyCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.modify.ThingModifyCommandResponse<?> thingModifyCommandResponse,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommand<?> thingQueryCommand)
Maps the given
thingQueryCommand to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommand<?> thingQueryCommand) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommand<?> thingQueryCommand,
TopicPath.Channel channel)
Maps the given
thingQueryCommand to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommand<?> thingQueryCommand,
TopicPath.Channel channel) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommandResponse<?> thingQueryCommandResponse)
Maps the given
thingQueryCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommandResponse<?> thingQueryCommandResponse) |
Adaptable |
ProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommandResponse<?> thingQueryCommandResponse,
TopicPath.Channel channel)
Maps the given
thingQueryCommandResponse to an Adaptable. |
Adaptable |
DittoProtocolAdapter.toAdaptable(org.eclipse.ditto.signals.commands.things.query.ThingQueryCommandResponse<?> thingQueryCommandResponse,
TopicPath.Channel channel) |
Adaptable |
Adapter.toAdaptable(T t,
TopicPath.Channel channel)
Maps the given
t to it's corresponding Adaptable. |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.ditto.signals.base.Signal<?> |
ProtocolAdapter.fromAdaptable(Adaptable adaptable)
Maps the given
adaptable to the corresponding Signal, which can be a Command,
CommandResponse or an Event. |
org.eclipse.ditto.signals.base.Signal<?> |
DittoProtocolAdapter.fromAdaptable(Adaptable adaptable) |
T |
Adapter.fromAdaptable(Adaptable adaptable)
Maps the given
adaptable to it's corresponding T. |
T |
JsonifiableMapper.map(Adaptable adaptable)
Maps the given
adaptable to the specified T. |
static AdaptableBuilder |
ProtocolFactory.newAdaptableBuilder(Adaptable existingAdaptable)
Returns a new
AdaptableBuilder for the existing existingAdaptable. |
static AdaptableBuilder |
ProtocolFactory.newAdaptableBuilder(Adaptable existingAdaptable,
TopicPath overwriteTopicPath)
Returns a new
AdaptableBuilder for the existing existingAdaptable and a specific
overwriteTopicPath to overwrite the one in existingAdaptable. |
static JsonifiableAdaptable |
ProtocolFactory.wrapAsJsonifiableAdaptable(Adaptable adaptable)
Wraps the passed in
adaptable to a JsonifiableAdaptable which has a JSON representation. |
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.