Пример #1
0
 /**
  * Receive a nested fileset
  *
  * @param fileSet a fileset of source files
  */
 public void addFileSet(FileSet fileSet) {
   if (!fileSets.contains(fileSet)) {
     fileSets.add(fileSet);
   }
 }
Пример #2
0
 /**
  * Receive a nested FileList
  *
  * @param fileList a list of sources
  */
 public void addFileList(FileList fileList) {
   if (!fileLists.contains(fileList)) {
     fileLists.add(fileList);
   }
 }
Пример #3
0
 /**
  * Receive a nested argument
  *
  * @param arg An argument to pass to JSDoc3. This can be used pass arguments not exposed directly
  *     by the ant task (e.g --test, --explain, etc.)
  */
 public void addArg(Argument arg) {
   if (!args.contains(arg)) {
     args.add(arg);
   }
 }