Module org.refcodes.component
Package org.refcodes.component
Interface ConnectionStatusAccessor.ConnectionStatusProperty
-
- All Superinterfaces:
ConnectionStatusAccessor
,ConnectionStatusAccessor.ConnectionStatusMutator
,OpenedAccessor
- Enclosing interface:
- ConnectionStatusAccessor
public static interface ConnectionStatusAccessor.ConnectionStatusProperty extends ConnectionStatusAccessor, ConnectionStatusAccessor.ConnectionStatusMutator
Provides aConnectionStatus
property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ConnectionStatus
letConnectionStatus(ConnectionStatus aConnectionStatus)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenConnectionStatus
(setter) as ofConnectionStatusAccessor.ConnectionStatusMutator.setConnectionStatus(ConnectionStatus)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isOpened
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator
setConnectionStatus
-
-
-
-
Method Detail
-
letConnectionStatus
default ConnectionStatus letConnectionStatus(ConnectionStatus aConnectionStatus)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenConnectionStatus
(setter) as ofConnectionStatusAccessor.ConnectionStatusMutator.setConnectionStatus(ConnectionStatus)
and returns the very same value (getter).- Parameters:
aConnectionStatus
- TheConnectionStatus
to set (viaConnectionStatusAccessor.ConnectionStatusMutator.setConnectionStatus(ConnectionStatus)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-