public CommandLine add(List<String> args){
  if (args != null && !args.isEmpty()) {
    line.addAll(args);
  }
  return this;
}

public CommandLine add ( List < String > args ) { if ( args != null && ! args . isEmpty ( ) ) { line . addAll ( args ) ; } return this ; }
adds list of arguments in command line .
