|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.cmdline.ExecuteCommand org.netbeans.modules.vcscore.cmdline.CommandLineVcsDirReader
Read a single VCS directory.
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 | |
CommandLineVcsDirReader(DirReaderListener listener,
VcsFileSystem fileSystem,
UserCommand list,
Hashtable vars)
|
Method Summary | |
void |
addFileReaderListener(FileReaderListener l)
Add a file reader listener, that gets the updated attributes of the processed file(s). |
List |
getRawData()
|
VcsCommandVisualizer |
getVisualizer()
Get the graphical visualization of the command. |
protected void |
printDataOutput(String[] data)
|
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. |
static String[] |
translateElements(String[] cmdElements,
UserCommand list)
Translate elements obtained from the command line reader to elements used by RefreshCommandSupport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandLineVcsDirReader(DirReaderListener listener, VcsFileSystem fileSystem, UserCommand list, Hashtable vars)
Method Detail |
public VcsCommandVisualizer getVisualizer()
getVisualizer
in interface VcsCommandExecutor
getVisualizer
in class ExecuteCommand
public List getRawData()
protected void printDataOutput(String[] data)
printDataOutput
in class ExecuteCommand
protected void runClass(String exec, String className, String[] args)
runClass
in class ExecuteCommand
className
- the name of the class to be loadedargs
- the argumentspublic void run()
ExecuteCommand
run
in interface Runnable
run
in class ExecuteCommand
public void addFileReaderListener(FileReaderListener l)
This is an empty method, the listener is added nowhere. This class uses the passed listener for the notification.
addFileReaderListener
in interface VcsCommandExecutor
addFileReaderListener
in class ExecuteCommand
public static String[] translateElements(String[] cmdElements, UserCommand list)
RefreshCommandSupport
list
- the refresh command
RefreshCommandSupport
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |