Module org.refcodes.command
Package org.refcodes.command
Interface WorkerAccessor<CTX,E extends Exception>
- Type Parameters:
CTX
- the generic typeE
- the element type
- All Known Subinterfaces:
WorkerAccessor.WorkerProperty<CTX,
E>
public interface WorkerAccessor<CTX,E extends Exception>
Provides an accessor for a command property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
WorkerAccessor.WorkerBuilder<CTX,
E extends Exception, B extends WorkerAccessor.WorkerBuilder<CTX, E, B>> Provides a builder method for a name property returning the builder for applying multiple build operations.static interface
WorkerAccessor.WorkerMutator<CTX,
E extends Exception> Provides a mutator for a worker property.static interface
WorkerAccessor.WorkerProperty<CTX,
E extends Exception> Provides a worker property. -
Method Summary
-
Method Details
-
getWorker
Retrieves the worker from the worker property.- Returns:
- The worker stored by the worker property.
-