public final class MessageBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Message |
build() |
static MessageBuilder |
forAddress(Address address) |
static MessageBuilder |
forAddress(TypeName functionType,
java.lang.String id) |
static MessageBuilder |
fromMessage(Message message) |
<T> MessageBuilder |
withCustomType(Type<T> customType,
T element) |
MessageBuilder |
withTargetAddress(Address targetAddress) |
MessageBuilder |
withTargetAddress(TypeName typeName,
java.lang.String id) |
MessageBuilder |
withValue(boolean value) |
MessageBuilder |
withValue(double value) |
MessageBuilder |
withValue(float value) |
MessageBuilder |
withValue(int value) |
MessageBuilder |
withValue(long value) |
MessageBuilder |
withValue(java.lang.String value) |
public static MessageBuilder forAddress(TypeName functionType, java.lang.String id)
public static MessageBuilder forAddress(Address address)
public static MessageBuilder fromMessage(Message message)
public MessageBuilder withValue(long value)
public MessageBuilder withValue(int value)
public MessageBuilder withValue(boolean value)
public MessageBuilder withValue(java.lang.String value)
public MessageBuilder withValue(float value)
public MessageBuilder withValue(double value)
public MessageBuilder withTargetAddress(Address targetAddress)
public MessageBuilder withTargetAddress(TypeName typeName, java.lang.String id)
public <T> MessageBuilder withCustomType(Type<T> customType, T element)
public Message build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.