Class AvroCommandBuilder<BuilderType extends AvroCommandBuilder,CommandType extends AvroCommand>

java.lang.Object
ch.admin.bit.jeap.messaging.avro.AvroMessageBuilder<BuilderType,CommandType>
ch.admin.bit.jeap.command.avro.AvroCommandBuilder<BuilderType,CommandType>

public abstract class AvroCommandBuilder<BuilderType extends AvroCommandBuilder,CommandType extends AvroCommand> extends AvroMessageBuilder<BuilderType,CommandType>
  • Constructor Details

  • Method Details

    • getCommandTypeVersion

      @Deprecated(forRemoval=true, since="3.7.0") protected String getCommandTypeVersion()
      Deprecated, for removal: This API element is subject to removal in a future version.
      When generating jEAP messages from the message type registry, the version is automatically set
      Version of the command type to create. Not to be confused with COMMAND_VERSION which is the Version of the Command-Structure (like DomainEventVersion) The builder uses the event version from the generated event avro binding, no need to override. Will be removed in a future release.
    • user

      public BuilderType user(AvroMessageUser user)
    • build

      public CommandType build()