- All Superinterfaces:
ChannelAccessor
,ChannelAccessor.ChannelMutator
- All Known Subinterfaces:
EventMetaData.EventMetaDataBuilder
- All Known Implementing Classes:
EventMetaDataBuilderImpl
- Enclosing interface:
- ChannelAccessor
public static interface ChannelAccessor.ChannelProperty extends ChannelAccessor, ChannelAccessor.ChannelMutator
Provides a channel property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChannelAccessor
ChannelAccessor.ChannelBuilder<B extends ChannelAccessor.ChannelBuilder<B>>, ChannelAccessor.ChannelMutator, ChannelAccessor.ChannelProperty
-
Method Summary
Modifier and Type Method Description default String
letChannel(String aChannel)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofChannelAccessor.ChannelMutator.setChannel(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.ChannelAccessor
getChannel
Methods inherited from interface org.refcodes.mixin.ChannelAccessor.ChannelMutator
setChannel
-
Method Details
-
letChannel
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofChannelAccessor.ChannelMutator.setChannel(String)
and returns the very same value (getter).- Parameters:
aChannel
- TheString
to set (viaChannelAccessor.ChannelMutator.setChannel(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-