public abstract static class RegularListener.AbstractConfiguration.AbstractBuilder<B extends RegularListener.AbstractConfiguration.AbstractBuilder<B,C,L>,C,L extends Listener> extends java.lang.Object implements RegularListener.Configuration.Builder<C,L>
Modifier | Constructor and Description |
---|---|
protected |
AbstractBuilder()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
B |
activityPreferences(ActivityPreferences preferences) |
B |
activityPreferences(com.google.common.base.Function<? super C,? extends ActivityPreferences> relation) |
protected abstract B |
asSubtype()
Always returns
this . |
abstract RegularListener.Configuration<C,L> |
build() |
B |
contextType(java.lang.Class<? extends C> type) |
B |
dataInjector(com.google.common.base.Function<? super C,? extends RegularListener.DataInjector<? super L>> relation) |
B |
dataInjector(RegularListener.DataInjector<? super L> injector) |
B |
diplayExecutor(DisplayExecutor executor) |
B |
diplayExecutor(com.google.common.base.Function<? super C,? extends DisplayExecutor> relation) |
B |
disposalHook(com.google.common.base.Function<? super C,? extends RegularListener.DisposalHook<? super L>> relation) |
B |
disposalHook(RegularListener.DisposalHook<? super L> hook) |
B |
eventValidator(com.google.common.base.Function<? super C,? extends RegularListener.EventValidator<? super L>> relation) |
B |
eventValidator(RegularListener.EventValidator<? super L> validator) |
B |
listenerPreferences(com.google.common.base.Function<? super C,? extends ListenerPreferences> relation) |
B |
listenerPreferences(ListenerPreferences preferences) |
B |
listenerType(java.lang.Class<? extends L> type) |
B |
optionsLoader(com.google.common.base.Function<? super C,? extends RegularListener.OptionsLoader<? super L>> relation) |
B |
optionsLoader(RegularListener.OptionsLoader<? super L> loader) |
B |
persistenceStore(com.google.common.base.Function<? super C,? extends RegularListener.PersistenceStore<? super L>> relation) |
B |
persistenceStore(RegularListener.PersistenceStore<? super L> store) |
B |
pluginConsole(com.google.common.base.Function<? super C,? extends PluginConsole> relation) |
B |
pluginConsole(PluginConsole console) |
B |
probeExecutor(java.util.concurrent.ExecutorService executor) |
B |
probeExecutor(com.google.common.base.Function<? super C,? extends java.util.concurrent.ExecutorService> relation) |
B |
probeFilter(com.google.common.base.Function<? super C,? extends com.google.common.base.Predicate<java.util.Map.Entry<java.lang.String,Probe<?>>>> relation) |
B |
probeFilter(com.google.common.base.Predicate<java.util.Map.Entry<java.lang.String,Probe<?>>> filter) |
B |
probeMappings(com.google.common.base.Function<? super C,? extends java.util.Map<java.lang.String,Probe<?>>> relation) |
B |
probeMappings(java.util.Map<java.lang.String,Probe<?>> probes) |
B |
registerFailureHandler(com.google.common.base.Function<? super C,? extends RegularListener.RegisterFailureHandler<? super L>> relation) |
B |
registerFailureHandler(RegularListener.RegisterFailureHandler<? super L> handler) |
B |
sendFailureHandler(com.google.common.base.Function<? super C,? extends RegularListener.SendFailureHandler<? super L>> relation) |
B |
sendFailureHandler(RegularListener.SendFailureHandler<? super L> handler) |
B |
sharedExecutor(java.util.concurrent.ExecutorService executor) |
B |
sharedExecutor(com.google.common.base.Function<? super C,? extends java.util.concurrent.ExecutorService> relation) |
B |
timeContext(com.google.common.base.Function<? super C,? extends RegularListener.TimeContext> relation) |
B |
timeContext(RegularListener.TimeContext context) |
protected abstract B asSubtype()
this
.public final B activityPreferences(ActivityPreferences preferences)
public final B activityPreferences(com.google.common.base.Function<? super C,? extends ActivityPreferences> relation)
public final B listenerPreferences(ListenerPreferences preferences)
public final B listenerPreferences(com.google.common.base.Function<? super C,? extends ListenerPreferences> relation)
public final B optionsLoader(RegularListener.OptionsLoader<? super L> loader)
public final B optionsLoader(com.google.common.base.Function<? super C,? extends RegularListener.OptionsLoader<? super L>> relation)
public final B timeContext(RegularListener.TimeContext context)
public final B timeContext(com.google.common.base.Function<? super C,? extends RegularListener.TimeContext> relation)
public final B pluginConsole(PluginConsole console)
public final B pluginConsole(com.google.common.base.Function<? super C,? extends PluginConsole> relation)
public final B diplayExecutor(DisplayExecutor executor)
public final B diplayExecutor(com.google.common.base.Function<? super C,? extends DisplayExecutor> relation)
public final B sharedExecutor(java.util.concurrent.ExecutorService executor)
public final B sharedExecutor(com.google.common.base.Function<? super C,? extends java.util.concurrent.ExecutorService> relation)
public final B probeMappings(com.google.common.base.Function<? super C,? extends java.util.Map<java.lang.String,Probe<?>>> relation)
public final B probeFilter(com.google.common.base.Predicate<java.util.Map.Entry<java.lang.String,Probe<?>>> filter)
public final B probeFilter(com.google.common.base.Function<? super C,? extends com.google.common.base.Predicate<java.util.Map.Entry<java.lang.String,Probe<?>>>> relation)
public final B probeExecutor(java.util.concurrent.ExecutorService executor)
public final B probeExecutor(com.google.common.base.Function<? super C,? extends java.util.concurrent.ExecutorService> relation)
public final B dataInjector(RegularListener.DataInjector<? super L> injector)
public final B dataInjector(com.google.common.base.Function<? super C,? extends RegularListener.DataInjector<? super L>> relation)
public final B eventValidator(RegularListener.EventValidator<? super L> validator)
public final B eventValidator(com.google.common.base.Function<? super C,? extends RegularListener.EventValidator<? super L>> relation)
public final B persistenceStore(RegularListener.PersistenceStore<? super L> store)
public final B persistenceStore(com.google.common.base.Function<? super C,? extends RegularListener.PersistenceStore<? super L>> relation)
public final B sendFailureHandler(RegularListener.SendFailureHandler<? super L> handler)
public final B sendFailureHandler(com.google.common.base.Function<? super C,? extends RegularListener.SendFailureHandler<? super L>> relation)
public final B registerFailureHandler(RegularListener.RegisterFailureHandler<? super L> handler)
public final B registerFailureHandler(com.google.common.base.Function<? super C,? extends RegularListener.RegisterFailureHandler<? super L>> relation)
public final B disposalHook(RegularListener.DisposalHook<? super L> hook)
public final B disposalHook(com.google.common.base.Function<? super C,? extends RegularListener.DisposalHook<? super L>> relation)
public abstract RegularListener.Configuration<C,L> build()
build
in interface RegularListener.Configuration.Builder<C,L extends Listener>