@Override public Builder batchSize(int batchSize) { super.batchSize(batchSize); return this; }
@Override public Builder eventSerializer(Serializer eventSerializer) { super.eventSerializer(eventSerializer); return this; }
@Override public Builder persistenceExceptionResolver(PersistenceExceptionResolver persistenceExceptionResolver) { super.persistenceExceptionResolver(persistenceExceptionResolver); return this; }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(entityManagerProvider, "The EntityManagerProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(connectionProvider, "The ConnectionProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(template, "The MongoTemplate is a hard requirement and should be provided"); } }
@Override public Builder upcasterChain(EventUpcaster upcasterChain) { super.upcasterChain(upcasterChain); return this; }
@Override public Builder snapshotSerializer(Serializer snapshotSerializer) { super.snapshotSerializer(snapshotSerializer); return this; }
@Override public Builder snapshotFilter(Predicate<? super DomainEventData<?>> snapshotFilter) { super.snapshotFilter(snapshotFilter); return this; }
@Override public Builder upcasterChain(EventUpcaster upcasterChain) { super.upcasterChain(upcasterChain); return this; }
@Override public Builder snapshotSerializer(Serializer snapshotSerializer) { super.snapshotSerializer(snapshotSerializer); return this; }
@Override public Builder eventSerializer(Serializer eventSerializer) { super.eventSerializer(eventSerializer); return this; }
@Override public Builder eventSerializer(Serializer eventSerializer) { super.eventSerializer(eventSerializer); return this; }
@Override public Builder snapshotFilter(Predicate<? super DomainEventData<?>> snapshotFilter) { super.snapshotFilter(snapshotFilter); return this; }
/** * {@inheritDoc} Defaults to a {@link JdbcSQLErrorCodesResolver}. */ @Override public Builder persistenceExceptionResolver(PersistenceExceptionResolver persistenceExceptionResolver) { super.persistenceExceptionResolver(persistenceExceptionResolver); return this; }
@Override public Builder snapshotFilter(Predicate<? super DomainEventData<?>> snapshotFilter) { super.snapshotFilter(snapshotFilter); return this; }
@Override public Builder snapshotSerializer(Serializer snapshotSerializer) { super.snapshotSerializer(snapshotSerializer); return this; }
@Override public Builder batchSize(int batchSize) { super.batchSize(batchSize); return this; }
@Override public Builder batchSize(int batchSize) { super.batchSize(batchSize); return this; }
@Override public Builder persistenceExceptionResolver(PersistenceExceptionResolver persistenceExceptionResolver) { super.persistenceExceptionResolver(persistenceExceptionResolver); return this; }