Module org.refcodes.command
Package org.refcodes.command
Interface WorkerAccessor.WorkerProperty<CTX,E extends Exception>
- Type Parameters:
CTX
- the generic typeE
- the element type
- All Superinterfaces:
WorkerAccessor<CTX,
,E> WorkerAccessor.WorkerMutator<CTX,
E>
- Enclosing interface:
- WorkerAccessor<CTX,
E extends Exception>
public static interface WorkerAccessor.WorkerProperty<CTX,E extends Exception>
extends WorkerAccessor<CTX,E>, WorkerAccessor.WorkerMutator<CTX,E>
Provides a worker property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.command.WorkerAccessor
WorkerAccessor.WorkerBuilder<CTX,
E extends Exception, B extends WorkerAccessor.WorkerBuilder<CTX, E, B>>, WorkerAccessor.WorkerMutator<CTX, E extends Exception>, WorkerAccessor.WorkerProperty<CTX, E extends Exception> -
Method Summary
Modifier and TypeMethodDescriptionThis method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenWorker
(setter) as ofWorkerAccessor.WorkerMutator.setWorker(Worker)
and returns the very same value (getter).Methods inherited from interface org.refcodes.command.WorkerAccessor
getWorker
Methods inherited from interface org.refcodes.command.WorkerAccessor.WorkerMutator
setWorker
-
Method Details
-
letWorker
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenWorker
(setter) as ofWorkerAccessor.WorkerMutator.setWorker(Worker)
and returns the very same value (getter).- Parameters:
aWorker
- TheWorker
to set (viaWorkerAccessor.WorkerMutator.setWorker(Worker)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-