站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

VcsListRecursiveCommand (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.cmdline
Class VcsListRecursiveCommand

java.lang.Object
  extended byorg.netbeans.modules.vcscore.cmdline.VcsListRecursiveCommand

public abstract class VcsListRecursiveCommand
extends Object

An abstract recursive list command, that every class has to implement to provide a recursive listing information.


Constructor Summary
VcsListRecursiveCommand()
           
 
Method Summary
abstract  boolean listRecursively(Hashtable vars, String[] args, VcsDirContainer filesByName, CommandOutputListener stdoutListener, CommandOutputListener stderrListener, CommandDataOutputListener stdoutDataListener, String dataRegex, CommandDataOutputListener stderrDataListener, String errorRegex)
          This method is called when the content of the directory is to be listed recursively.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VcsListRecursiveCommand

public VcsListRecursiveCommand()
Method Detail

listRecursively

public abstract boolean listRecursively(Hashtable vars,
                                        String[] args,
                                        VcsDirContainer filesByName,
                                        CommandOutputListener stdoutListener,
                                        CommandOutputListener stderrListener,
                                        CommandDataOutputListener stdoutDataListener,
                                        String dataRegex,
                                        CommandDataOutputListener stderrDataListener,
                                        String errorRegex)
This method is called when the content of the directory is to be listed recursively.

Parameters:
vars - the variables that can be passed to the command
args - the command line parametres passed to it in properties
filesByName - return the files read from the directory content. Each element in VcsDirContainer is supposed to be Hashtable object. The keys in this Hashtable are supposed to be file names, values are supposed to be an array of String containing statuses.
stdoutListener - listener of the standard output of the command
stderrListener - listener of the error output of the command
stdoutDataListener - listener of the standard output of the command which satisfies regex dataRegex
dataRegex - the regular expression for parsing the standard output
stderrDataListener - listener of the error output of the command which satisfies regex errorRegex
errorRegex - the regular expression for parsing the error output
Returns:
true if the command was succesfull false if some error occured.

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.