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, toString
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
public JavaProcessWrapper(java.lang.String taskName, java.util.List<java.lang.String> commands, java.io.File workingDirectory)
public JavaProcess getInternalProcess()
public void cancel()
GenericTask
cancel
in interface GenericTask
cancel
in class AbstractGenericTask
public void propertyChange(java.beans.PropertyChangeEvent arg0)
propertyChange
in interface java.beans.PropertyChangeListener
public void doThisJob() throws java.lang.Exception
AbstractGenericTask
doThisJob
in class AbstractGenericTask
java.lang.Exception