Module org.refcodes.component
Package org.refcodes.component
Interface RunningAccessor.RunningProperty
- All Superinterfaces:
RunningAccessor
,RunningAccessor.RunningMutator
- Enclosing interface:
- RunningAccessor
public static interface RunningAccessor.RunningProperty
extends RunningAccessor, RunningAccessor.RunningMutator
Provides a running property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor
RunningAccessor.RunningMutator, RunningAccessor.RunningProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
letRunning
(boolean aRunning) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofRunningAccessor.RunningMutator.setRunning(boolean)
and returns the very same value (getter).Methods inherited from interface org.refcodes.component.RunningAccessor
isRunning
Methods inherited from interface org.refcodes.component.RunningAccessor.RunningMutator
setRunning
-
Method Details
-
letRunning
default boolean letRunning(boolean aRunning) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofRunningAccessor.RunningMutator.setRunning(boolean)
and returns the very same value (getter).- Parameters:
aRunning
- The boolean to set (viaRunningAccessor.RunningMutator.setRunning(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-