|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.emboss.jemboss.soap.PendingResults
Record the batch job status (pending/completed)
Field Summary | |
private boolean |
autoUpdates
automatic job status updates |
private int |
completed_jobs
number of completed processes |
private javax.swing.JButton |
jobButton
job manager button |
private javax.swing.JComboBox |
jobComboBox
job manager interactive/batch selection |
private JembossParams |
mysettings
jemboss properties |
private java.util.Vector |
pendingResults
pending results |
private int |
running_jobs
number of peding processes |
Constructor Summary | |
PendingResults(JembossParams mysettings)
|
Method Summary | |
void |
addResult(JembossProcess res)
Add a pending process to the list |
java.util.Hashtable |
descriptionHash()
Get the processes description |
JembossProcess |
getResult(java.lang.String s)
Get the processes result |
java.lang.String |
getStatus()
|
private java.util.Vector |
getVector(java.util.Hashtable h)
Change a hashtable to a vector |
boolean |
isAutoUpdate()
Automatically updating status manager with BatchUpdateTimer thread |
java.lang.String |
jobStatus()
Report the status of completed and running processes. |
void |
removeResult(JembossProcess res)
Remove a pending process from the list |
void |
resetCount()
Reset the pending and completed job status |
void |
setAutoUpdate(boolean b)
Automatically updating status manager with BatchUpdateTimer thread |
void |
showPendingResults(javax.swing.JFrame f)
Display the list of pending and completed batch results window |
javax.swing.JPanel |
statusPanel(javax.swing.JFrame f)
A panel to show the status of any jobs and to view them, and to set the mode. |
void |
updateJobStats()
Update the number of completed and pending processes |
void |
updateMode()
Updates the mode on the combo box to reflect the current state |
void |
updateMode(java.lang.String s)
Updates the mode on the combo box to reflect the requested value |
void |
updateStatus()
Connect to the Jemboss server, and update the status of the jobs in the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int completed_jobs
private int running_jobs
private JembossParams mysettings
private java.util.Vector pendingResults
private javax.swing.JButton jobButton
private javax.swing.JComboBox jobComboBox
private boolean autoUpdates
Constructor Detail |
public PendingResults(JembossParams mysettings)
mysettings
- jemboss propertiesMethod Detail |
public void resetCount()
public void addResult(JembossProcess res)
res
- jemboss processpublic void removeResult(JembossProcess res)
res
- jemboss processpublic JembossProcess getResult(java.lang.String s)
s
- name of the dataset
public java.util.Hashtable descriptionHash()
public void updateJobStats()
public java.lang.String jobStatus()
public void updateStatus()
private java.util.Vector getVector(java.util.Hashtable h)
public boolean isAutoUpdate()
public void setAutoUpdate(boolean b)
public void updateMode()
public void updateMode(java.lang.String s)
s
- mode (batch /interactive) to set topublic javax.swing.JPanel statusPanel(javax.swing.JFrame f)
f
- parent frame, to which dialogs will be attached.public void showPendingResults(javax.swing.JFrame f)
public java.lang.String getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |