P - Type of payload received by subscribers.T - The concrete type returned by fluent methods.B - The concrete type of the built object.public abstract static class AbstractSubscriberBase.Builder<P,T extends AbstractSubscriberBase.Builder<P,T,B>,B extends AbstractSubscriberBase<P,B>>
extends org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T,B>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator) |
T |
withNameFactory(INameFactory nameFactory) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
Collection<TopicName> topicNames) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
String[] topicIds) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
String topicId,
String... additionalTopicIds)
Deprecated.
|
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
Subscription subscription) |
public T withNameFactory(INameFactory nameFactory)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, Subscription subscription)
@Deprecated protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String topicId, String... additionalTopicIds)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, Collection<TopicName> topicNames)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String[] topicIds)
public void validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)
validate in class org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T extends AbstractSubscriberBase.Builder<P,T,B>,B extends AbstractSubscriberBase<P,B>>Copyright © 2018 Symphony Software Foundation. All rights reserved.