Package org.refcodes.mixin
Interface PayloadAccessor<P>
-
- Type Parameters:
P
- The type of the payload to be carried.
- All Known Subinterfaces:
PayloadAccessor.PayloadProperty<P>
public interface PayloadAccessor<P>
Provides an accessor for a payload property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PayloadAccessor.PayloadBuilder<P,B extends PayloadAccessor.PayloadBuilder<P,B>>
Provides a builder method for a payload property returning the builder for applying multiple build operations.static interface
PayloadAccessor.PayloadMutator<P>
Provides a mutator for a payload property.static interface
PayloadAccessor.PayloadProperty<P>
Provides a payload property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description P
getPayload()
Retrieves the payload from the payload property.
-
-
-
Method Detail
-
getPayload
P getPayload()
Retrieves the payload from the payload property.- Returns:
- The payload stored by the payload property.
-
-