Module org.refcodes.component
Package org.refcodes.component
Interface InitializedAccessor.InitializedProperty
- All Superinterfaces:
InitializedAccessor
,InitializedAccessor.InitializedMutator
- Enclosing interface:
InitializedAccessor
public static interface InitializedAccessor.InitializedProperty
extends InitializedAccessor, InitializedAccessor.InitializedMutator
Provides a initialized property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.InitializedAccessor
InitializedAccessor.InitializedMutator, InitializedAccessor.InitializedProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
letInitialized
(boolean isInitialized) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofInitializedAccessor.InitializedMutator.setInitialized(boolean)
and returns the very same value (getter).Methods inherited from interface org.refcodes.component.InitializedAccessor
isInitialized
Methods inherited from interface org.refcodes.component.InitializedAccessor.InitializedMutator
setInitialized
-
Method Details
-
letInitialized
default boolean letInitialized(boolean isInitialized) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofInitializedAccessor.InitializedMutator.setInitialized(boolean)
and returns the very same value (getter).- Parameters:
isInitialized
- The boolean to set (viaInitializedAccessor.InitializedMutator.setInitialized(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-