public class PhyMLTask
extends javax.swing.SwingWorker<java.lang.String,java.lang.Void>
GUIAlignmentEditor,
GUIPhyMLOptions,
AlignmentEditor,
GUI,
CodemlTP| Constructor and Description |
|---|
PhyMLTask(java.lang.String location,
java.lang.String seqfile,
java.lang.String[] options,
int pmlen)
Initialize PhyML Task.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
doInBackground() |
protected void |
done() |
java.lang.String |
getCommand()
Get complete command previously initialized in constructor, to string.
|
int |
getCurrent()
Get current value for display progress bar and/or monitor.
It returns only the value that is greater than the previous one. |
java.lang.String |
getMessage()
Get formated message of elapsed time since beginning of execution.
|
java.lang.String |
getOutput()
Get output resulting from terminated execution.
|
boolean |
gotError()
Verify if execution terminated with an error.
|
boolean |
isdone()
Verify if task has terminated.
|
void |
stop()
Stop PhyML execution.
|
public PhyMLTask(java.lang.String location,
java.lang.String seqfile,
java.lang.String[] options,
int pmlen)
location - PhyML executable absolute path location.seqfile - sequence absolute path file location.options - user phyml options.pmlen - maximum value of progress bar and/or monitor.public java.lang.String getCommand()
protected java.lang.String doInBackground()
doInBackground in class javax.swing.SwingWorker<java.lang.String,java.lang.Void>protected void done()
done in class javax.swing.SwingWorker<java.lang.String,java.lang.Void>public boolean isdone()
public boolean gotError()
public int getCurrent()
public java.lang.String getMessage()
public java.lang.String getOutput()
public void stop()