|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.datatools.sqltools.plan.PlanSupportRunnable
public abstract class PlanSupportRunnable
The base class which performs the operations to retrieve plan from database. TODO: implement run(IProgress) and handleEnd
| Field Summary |
|---|
| Fields inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
| Constructor Summary | |
|---|---|
PlanSupportRunnable()
|
|
PlanSupportRunnable(PlanRequest request,
java.lang.String profileName,
java.lang.String dbName)
Constructor |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
PlanRequest |
getRequest()
|
void |
setConnection(java.sql.Connection conn)
Passes a connection in, otherwise this class will create a new connection to get the plan |
void |
setRequest(PlanRequest _request)
|
| Methods inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
addJobChangeListener, belongsTo, cancel, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public PlanSupportRunnable()
public PlanSupportRunnable(PlanRequest request,
java.lang.String profileName,
java.lang.String dbName)
request - the plan requestprofileName - the profile namedbName - the database name| Method Detail |
|---|
public java.sql.Connection getConnection()
public void setConnection(java.sql.Connection conn)
conn - database connectionpublic PlanRequest getRequest()
public void setRequest(PlanRequest _request)
_request - The _request to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||