S
- The Service
type property.ServiceAccessor<S>
, ServiceAccessor.ServiceMutator<S>
public static interface ServiceAccessor.ServiceProperty<S extends Service<?>> extends ServiceAccessor<S>, ServiceAccessor.ServiceMutator<S>
Service
property.ServiceAccessor.ServiceMutator<S extends Service<?>>, ServiceAccessor.ServiceProperty<S extends Service<?>>
Modifier and Type | Method | Description |
---|---|---|
default S |
letService(S aService) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given value (setter) as of
ServiceAccessor.ServiceMutator.setService(Service) and returns the very same value
(getter). |
getService
setService
default S letService(S aService)
ServiceAccessor.ServiceMutator.setService(Service)
and returns the very same value
(getter).aService
- The value to set (via ServiceAccessor.ServiceMutator.setService(Service)
).Copyright © 2021. All rights reserved.