code: public ClasspathBuilder addAll(FilePath base, String glob) throws IOException, InterruptedException {
          for(FilePath item : base.list(glob))
              add(item);
          return this;
      }
  
      /**
       * Returns the string representation of the classpath.
       */
      @Override
      public String toString() {
          return Util.join(args,File.pathSeparator);
      }
  }
docs: Adds all the files that matches the given glob in the directory.
  
  @see FilePath#list(String)