|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.commands.CommandsPool
CommandProcessor
instead. This class is kept just for
compatibility reasons. It delegates it's work to CommandProcessor.
This class was used as a container of all external commands which are either running or finished. Currently it's reimplemented as a bridge between the old internal "API" and the new VCS APIs.
Field Summary | |
static int |
PREPROCESS_CANCELLED
Deprecated. The preprocessing of the command was cancelled. |
static int |
PREPROCESS_DONE
Deprecated. The preprocessing is done. |
static int |
PREPROCESS_NEXT_FILE
Deprecated. When there are more files selected, the preprocessing needs to be done for next files again. |
Method Summary | |
void |
cleanup()
Deprecated. Destroy the FS node under VCS Commands node on the Runtime tab. |
protected void |
finalize()
Deprecated. |
long |
getCommandID(VcsCommandExecutor vce)
Deprecated. Get the command's ID. |
static CommandsPool |
getInstance()
Deprecated. |
boolean |
isRunning(VcsCommandExecutor vce)
Deprecated. Tells whether the executor is still running. |
boolean |
isWaiting(VcsCommandExecutor vce)
Deprecated. Tells whether the executor is waiting. |
void |
kill(VcsCommandExecutor vce)
Deprecated. Kill the executor if it is running. |
int |
preprocessCommand(VcsCommandExecutor vce,
Hashtable vars,
VcsFileSystem fileSystem)
Deprecated. Perform preprocessing of a new command. |
void |
startExecutor(VcsCommandExecutor vce)
Deprecated. Start the executor. |
void |
startExecutor(VcsCommandExecutor vce,
VcsFileSystem fileSystem)
Deprecated. Start the executor. |
void |
waitToFinish(VcsCommandExecutor vce)
Deprecated. Wait to finish the executor. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PREPROCESS_CANCELLED
public static final int PREPROCESS_NEXT_FILE
public static final int PREPROCESS_DONE
Method Detail |
public static CommandsPool getInstance()
protected void finalize()
public void cleanup()
public long getCommandID(VcsCommandExecutor vce)
vce
- the command's executor
public int preprocessCommand(VcsCommandExecutor vce, Hashtable vars, VcsFileSystem fileSystem)
vce
- the command to preprocess
CommandExecutorSupport.PREPROCESS_*
constantspublic void startExecutor(VcsCommandExecutor vce)
vce
- the executorpublic void startExecutor(VcsCommandExecutor vce, VcsFileSystem fileSystem)
vce
- the executorfileSystem
- the file system associated with the command. Can be null
.public boolean isWaiting(VcsCommandExecutor vce)
vce
- the executorpublic boolean isRunning(VcsCommandExecutor vce)
vce
- the executorpublic void waitToFinish(VcsCommandExecutor vce) throws InterruptedException
vce
- the executor
InterruptedException
public void kill(VcsCommandExecutor vce)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |