private void gatherTasksOptions(TaskFactory taskFactory, Options options) {
        for (Task task : taskFactory.getTasks()) {
            for (Option option : task.getOptions()) {
                options.addOption(option);
            }
        }
    }
private void gatherTasksOptions ( TaskFactory taskFactory , Options options ) { for ( Task task : taskFactory . getTasks ( ) ) { for ( Option option : task . getOptions ( ) ) { options . addOption ( option ) ; } } }
Gathers the task specific options for all tasks.

@param options
The task specific options.