code: public List<String> createCommandList(
                      final List<String> filterOptions
                      )
      {
          List<String>  list = new ArrayList<String>();
          list.add( getExecutable() );
  
          for (String  opt : filterOptions) {
              if (isOptionSet( opt )) {
                  list.add( opt );
                  final String  value = getOption( opt );
                  if (value != NO_OPTION_VALUE) {
                      list.add( value );
                  }
              }
          }
  
          return list;
      }
docs: Creates a command line from the current configuration.
  The command line is represented as a string list.
  The options are filtered by the specified list.
  
  @param   filterOptions
  the options contained in the result if they are set.
  @return
  the command line.