Module org.refcodes.eventbus
Package org.refcodes.eventbus
Interface DispatchStrategyAccessor.DispatchStrategyProperty
- All Superinterfaces:
DispatchStrategyAccessor
,DispatchStrategyAccessor.DispatchStrategyMutator
- Enclosing interface:
- DispatchStrategyAccessor
public static interface DispatchStrategyAccessor.DispatchStrategyProperty
extends DispatchStrategyAccessor, DispatchStrategyAccessor.DispatchStrategyMutator
Provides a
DispatchStrategy
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor
DispatchStrategyAccessor.DispatchStrategyMutator, DispatchStrategyAccessor.DispatchStrategyProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault DispatchStrategy
letDispatchStrategy
(DispatchStrategy aDispatchStrategy) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenDispatchStrategy
(setter) as ofDispatchStrategyAccessor.DispatchStrategyMutator.setDispatchStrategy(DispatchStrategy)
and returns the very same value (getter).Methods inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor
getDispatchStrategy
Methods inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyMutator
setDispatchStrategy
-
Method Details
-
letDispatchStrategy
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenDispatchStrategy
(setter) as ofDispatchStrategyAccessor.DispatchStrategyMutator.setDispatchStrategy(DispatchStrategy)
and returns the very same value (getter).- Parameters:
aDispatchStrategy
- TheDispatchStrategy
to set (viaDispatchStrategyAccessor.DispatchStrategyMutator.setDispatchStrategy(DispatchStrategy)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-