Module org.refcodes.component
Package org.refcodes.component
Interface LifecycleStatusAccessor.LifecycleStatusProperty
- All Superinterfaces:
LifecycleStatusAccessor
,LifecycleStatusAccessor.LifecycleStatusMutator
- Enclosing interface:
- LifecycleStatusAccessor
public static interface LifecycleStatusAccessor.LifecycleStatusProperty
extends LifecycleStatusAccessor, LifecycleStatusAccessor.LifecycleStatusMutator
Provides a
LifecycleStatus
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.LifecycleStatusAccessor
LifecycleStatusAccessor.LifecycleStatusBuilder<B extends LifecycleStatusAccessor.LifecycleStatusBuilder<B>>, LifecycleStatusAccessor.LifecycleStatusMutator, LifecycleStatusAccessor.LifecycleStatusProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault LifecycleStatus
letLifecycleStatus
(LifecycleStatus aLifecycleStatus) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenLifecycleStatus
(setter) as ofLifecycleStatusAccessor.LifecycleStatusMutator.setLifecycleStatus(LifecycleStatus)
and returns the very same value (getter).Methods inherited from interface org.refcodes.component.LifecycleStatusAccessor
getLifecycleStatus
Methods inherited from interface org.refcodes.component.LifecycleStatusAccessor.LifecycleStatusMutator
setLifecycleStatus
-
Method Details
-
letLifecycleStatus
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenLifecycleStatus
(setter) as ofLifecycleStatusAccessor.LifecycleStatusMutator.setLifecycleStatus(LifecycleStatus)
and returns the very same value (getter).- Parameters:
aLifecycleStatus
- TheLifecycleStatus
to set (viaLifecycleStatusAccessor.LifecycleStatusMutator.setLifecycleStatus(LifecycleStatus)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-