Interface CommandAccessor.CommandBuilder<CTX,R,E extends java.lang.Exception,B extends CommandAccessor.CommandBuilder<CTX,R,E,B>>

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

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

      • withCommand

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