Module org.refcodes.interceptor
Package org.refcodes.interceptor
Interface WorkPieceAccessor.WorkPieceProperty<WP>
-
- Type Parameters:
WP
- The type of the work piece.
- All Superinterfaces:
WorkPieceAccessor<WP>
,WorkPieceAccessor.WorkPieceMutator<WP>
- Enclosing interface:
- WorkPieceAccessor<WP>
public static interface WorkPieceAccessor.WorkPieceProperty<WP> extends WorkPieceAccessor<WP>, WorkPieceAccessor.WorkPieceMutator<WP>
Provides a work piece property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.interceptor.WorkPieceAccessor
WorkPieceAccessor.WorkPieceMutator<WP>, WorkPieceAccessor.WorkPieceProperty<WP>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WP
letWorkPiece(WP aWorkPiece)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofWorkPieceAccessor.WorkPieceMutator.setWorkPiece(Object)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.interceptor.WorkPieceAccessor
getWorkPiece
-
Methods inherited from interface org.refcodes.interceptor.WorkPieceAccessor.WorkPieceMutator
setWorkPiece
-
-
-
-
Method Detail
-
letWorkPiece
default WP letWorkPiece(WP aWorkPiece)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofWorkPieceAccessor.WorkPieceMutator.setWorkPiece(Object)
and returns the very same value (getter).- Parameters:
aWorkPiece
- The value to set (viaWorkPieceAccessor.WorkPieceMutator.setWorkPiece(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-