-
- All Superinterfaces:
MessageAccessor
,MessageAccessor.MessageMutator
- Enclosing interface:
- MessageAccessor
public static interface MessageAccessor.MessageProperty extends MessageAccessor, MessageAccessor.MessageMutator
Provides a message property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.MessageAccessor
MessageAccessor.MessageMutator, MessageAccessor.MessageProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
letMessage(String aMessage)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofMessageAccessor.MessageMutator.setMessage(String)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.MessageAccessor
getMessage
-
Methods inherited from interface org.refcodes.mixin.MessageAccessor.MessageMutator
setMessage
-
-
-
-
Method Detail
-
letMessage
default String letMessage(String aMessage)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofMessageAccessor.MessageMutator.setMessage(String)
and returns the very same value (getter).- Parameters:
aMessage
- TheString
to set (viaMessageAccessor.MessageMutator.setMessage(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-