public class JavaProcessWrapper extends AbstractGenericTask implements java.beans.PropertyChangeListener
isCancelled| Constructor and Description |
|---|
JavaProcessWrapper(java.lang.String taskName,
java.util.List<java.lang.String> commands,
java.io.File workingDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
This method is called to cancel a running task.
|
void |
doThisJob()
This method is the inner part of the doInBackground method.
|
JavaProcess |
getInternalProcess() |
void |
propertyChange(java.beans.PropertyChangeEvent arg0) |
doInBackground, done, getFailureReason, getName, hasBeenCancelled, isCorrectlyTerminated, isVerbose, setCorrectlyTerminated, setFailureReason, setName, toStringaddPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgresspublic JavaProcessWrapper(java.lang.String taskName,
java.util.List<java.lang.String> commands,
java.io.File workingDirectory)
public JavaProcess getInternalProcess()
public void cancel()
GenericTaskcancel in interface GenericTaskcancel in class AbstractGenericTaskpublic void propertyChange(java.beans.PropertyChangeEvent arg0)
propertyChange in interface java.beans.PropertyChangeListenerpublic void doThisJob()
throws java.lang.Exception
AbstractGenericTaskdoThisJob in class AbstractGenericTaskjava.lang.Exception