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

CommandLineVcsDirReaderRecursive (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.cmdline
Class CommandLineVcsDirReaderRecursive

java.lang.Object
  extended byorg.netbeans.modules.vcscore.cmdline.ExecuteCommand
      extended byorg.netbeans.modules.vcscore.cmdline.CommandLineVcsDirReaderRecursive
All Implemented Interfaces:
Runnable, TextInput, VcsCommandExecutor

public class CommandLineVcsDirReaderRecursive
extends ExecuteCommand

Read VCS directory recursively.


Field Summary
 
Fields inherited from class org.netbeans.modules.vcscore.cmdline.ExecuteCommand
DEFAULT_REGEX, exitStatus, STATUS_USE_REG_EXP_PARSE_OUTPUT
 
Fields inherited from interface org.netbeans.modules.vcscore.commands.VcsCommandExecutor
FAILED, INTERRUPTED, SUCCEEDED
 
Constructor Summary
CommandLineVcsDirReaderRecursive(DirReaderListener listener, VcsFileSystem fileSystem, UserCommand listSub, Hashtable vars)
          Creates new CommandLineVcsDirReaderRecursive
 
Method Summary
 void addFileReaderListener(FileReaderListener l)
          Add a file reader listener, that gets the updated attributes of the processed file(s).
 VcsCommandVisualizer getVisualizer()
          Get the graphical visualization of the command.
 void run()
          Execute the command.
protected  void runClass(String exec, String className, String[] args)
          Loads class of given name with some arguments and execute its list() method.
protected  void runCommand(String[] execs)
          The runCommand() method not supported.
 
Methods inherited from class org.netbeans.modules.vcscore.cmdline.ExecuteCommand
addDataErrorOutputListener, addDataOutputListener, addErrorOutputListener, addImmediateTextErrorListener, addImmediateTextOutputListener, addOutputListener, addRegexErrorListener, addRegexOutputListener, addTextErrorListener, addTextOutputListener, createProcessingFiles, getCommand, getDescribedCommand, getExec, getExitStatus, getFiles, getFileSystem, getTask, getVariables, preprocessCommand, printDataErrorOutput, printDataErrorOutputReal, printDataOutput, printErrorOutput, printOutput, runCommand, sendInput, setAdditionalParams, setAdditionalParams, setDescribedCommand, setTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineVcsDirReaderRecursive

public CommandLineVcsDirReaderRecursive(DirReaderListener listener,
                                        VcsFileSystem fileSystem,
                                        UserCommand listSub,
                                        Hashtable vars)
Creates new CommandLineVcsDirReaderRecursive

Method Detail

getVisualizer

public VcsCommandVisualizer getVisualizer()
Get the graphical visualization of the command.

Specified by:
getVisualizer in interface VcsCommandExecutor
Overrides:
getVisualizer in class ExecuteCommand
Returns:
null no visualization is desired.

runCommand

protected void runCommand(String[] execs)
The runCommand() method not supported. This method cause the command to always fail.

Overrides:
runCommand in class ExecuteCommand

runClass

protected void runClass(String exec,
                        String className,
                        String[] args)
Loads class of given name with some arguments and execute its list() method.

Overrides:
runClass in class ExecuteCommand
Parameters:
className - the name of the class to be loaded
args - the arguments

run

public void run()
Description copied from class: ExecuteCommand
Execute the command.

Specified by:
run in interface Runnable
Overrides:
run in class ExecuteCommand

addFileReaderListener

public void addFileReaderListener(FileReaderListener l)
Add a file reader listener, that gets the updated attributes of the processed file(s).

This is an empty method, the listener is added nowhere. This class uses the passed listener for the notification.

Specified by:
addFileReaderListener in interface VcsCommandExecutor
Overrides:
addFileReaderListener in class ExecuteCommand

 

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