|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.plugin.PluginManagerInquireTask
public class PluginManagerInquireTask
| Constructor Summary | |
|---|---|
PluginManagerInquireTask(String Url,
PluginInquireAction Obj)
|
|
| Method Summary | |
|---|---|
String |
getTitle()
Gets a Human Readable Title of this Task. |
void |
halt()
Requests that a running process be aborted. |
void |
run()
run() executes the task, and is called by an
external entity. |
void |
setTaskMonitor(TaskMonitor monitor)
Lets this Task know who it should report to regarding
task progress, errors, status description, etc. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginManagerInquireTask(String Url,
PluginInquireAction Obj)
| Method Detail |
|---|
public void setTaskMonitor(TaskMonitor monitor)
throws IllegalThreadStateException
TaskTask know who it should report to regarding
task progress, errors, status description, etc. monitor may
be null, in which case the task will stop reporting.
This method must be called exactly once, and before run()
is invoked.
If this method is called more than once, the method may throw an
IllegalStateException.
If this method is not called before run() then
run() may throw an IllegalStateException.
TaskMonitor methods can only be be called from the thread
that invokes run().
setTaskMonitor in interface Taskmonitor - TaskMonitor Object.
IllegalThreadStateException - Indicates that the TaskMonitor has
already been set.public void halt()
Haltablehalt() does
not block; it returns quickly; it is likely that halt()
will return before an underlying running process exits.
If halt() is called before an underlying process is started,
that underlying process should abort immediately if it is ever started.
If an underlying process has been started and has finished executing
before halt() is called, halt() will have no
effect.
halt in interface Haltablehalt in interface Taskpublic String getTitle()
Task
getTitle in interface Taskpublic void run()
Taskrun() executes the task, and is called by an
external entity.
Task process computations should be executed in this method, by the same thread that calls this method.
run() shall only be called once for a given instance.
If an asynchronous call to halt() is made while
run() is executing, run() should make an effort
to abort its operations and exit as soon as it is safe to do so.
run in interface Taskrun in interface Runnable
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||