Interface WorkerAccessor.WorkerBuilder<CTX,E extends java.lang.Exception,B extends WorkerAccessor.WorkerBuilder<CTX,E,B>>

  • Type Parameters:
    CTX - the generic type
    E - the element type
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    WorkerAccessor<CTX,E extends java.lang.Exception>


    public static interface WorkerAccessor.WorkerBuilder<CTX,E extends java.lang.Exception,B extends WorkerAccessor.WorkerBuilder<CTX,E,B>>
    Provides a builder method for a name property returning the builder for applying multiple build operations.
    • Method Detail

      • withWorker

        B withWorker​(Worker<CTX,E> aCommand)
        Sets the worker for the worker property.
        Parameters:
        aCommand - The worker to be stored by the worker property.
        Returns:
        The builder for applying multiple build operations.