public class Target extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Target.Builder |
static class |
Target.Format |
static class |
Target.Type |
Modifier and Type | Method and Description |
---|---|
static <E> Function<byte[],E> |
binaryDeserializer(ClassLoader classLoader)
Returns a deserlializer for extends events for certain event type.
|
static <E> BiFunction<byte[],String,E> |
binaryDeserializerVersionsSupport(ClassLoader classLoader)
Returns a deserlializer for extends events for certain event type.
|
String |
connectionString()
Connection string (depending on the
type() ) which shall be used to connect to the
target's server. |
boolean |
equals(Object o) |
Target.Format |
format()
Format of the messages written in target.
|
int |
hashCode() |
static Target.Builder |
newBuilder()
Creates a new target builder.
|
Map<String,String> |
properties()
Any properties, type specific, for this target.
|
String |
topic()
The topic.
|
String |
toString() |
Target.Type |
type()
Type of this target (e.g.
|
public static final String GROUP_ID
public static Target.Builder newBuilder()
Target.Builder.build()
method could be used to get the new target.public Target.Type type()
public String connectionString()
type()
) which shall be used to connect to the
target's server.public String topic()
public Map<String,String> properties()
public Target.Format format()
public static <E> Function<byte[],E> binaryDeserializer(ClassLoader classLoader)
E
- event typeclassLoader
- class loader used for creating objectspublic static <E> BiFunction<byte[],String,E> binaryDeserializerVersionsSupport(ClassLoader classLoader)
E
- event typeclassLoader
- class loader used for creating objectsCopyright © 2022 Bosch.IO GmbH. All rights reserved.