|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.odi.sdk.invocation.OdiCommand
public abstract class OdiCommand
Base class to wrap an execution request.
Field Summary | |
---|---|
static int |
SYNC_MODE_ASYNCHRONOUS
Value of the ASyncMode parameter for an asynchronous execution. |
static int |
SYNC_MODE_SYNCHRONOUS
Value of the ASyncMode parameter for an synchronous execution. |
Constructor Summary | |
---|---|
OdiCommand()
|
Method Summary | |
---|---|
java.lang.String |
getContext()
Returns the execution context code. |
int |
getLogLevel()
Returns the execution log level (1-5). |
int |
getSyncMode()
Returns the execution mode, synchronous or asynchronous. |
void |
setContext(java.lang.String pContext)
Sets the execution context |
void |
setLogLevel(int pLogLevel)
Sets the execution log level (1-5). |
void |
setSyncMode(int pSyncMode)
Sets the execution mode, synchronous (SYNC_MODE_SYNCHRONOUS) or asynchronous (SYNC_MODE_SYNCHRONOUS). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SYNC_MODE_SYNCHRONOUS
public static final int SYNC_MODE_ASYNCHRONOUS
Constructor Detail |
---|
public OdiCommand()
Method Detail |
---|
public java.lang.String getContext()
public void setContext(java.lang.String pContext)
pContext
- Code of the context used to run the command.public int getLogLevel()
public void setLogLevel(int pLogLevel)
pLogLevel
- Log Level to use for the execution: 1 to 5.public int getSyncMode()
public void setSyncMode(int pSyncMode)
pSyncMode
- The execution mode, synchronous (SYNC_MODE_SYNCHRONOUS)or asynchronous (SYNC_MODE_SYNCHRONOUS).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |