private Options gatherOptions(TaskFactory taskFactory) {
        final Options options = new Options();
        gatherTasksOptions(taskFactory, options);
        gatherStandardOptions(options);
        return options;
    }
private Options gatherOptions(TaskFactory taskFactory) {
        final Options options = new Options();
        gatherTasksOptions(taskFactory, options);
        gatherStandardOptions(options);
        return options;
    }
private Options gatherOptions ( TaskFactory taskFactory ) { final Options options = new Options ( ) ; gatherTasksOptions ( taskFactory , options ) ; gatherStandardOptions ( options ) ; return options ; }
Gather all options which are supported by the task (i.e. including standard and specific options).

@return The options.
Gather all options which are supported by the task ( i . e . including standard and specific options ) .