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