Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.runtime.agent.invocation
Class ExecutionInfo

java.lang.Object
  extended by oracle.odi.runtime.agent.invocation.ExecutionInfo


public class ExecutionInfo
extends java.lang.Object

Simple class holding execution information.

Since:
11.1.1.3.0

Nested Class Summary
static class ExecutionInfo.SessionStatus
          The various status possible.

 

Constructor Summary
ExecutionInfo(long pSessionId, int pSessionThreadId, long pThreadCreationTime, int pMasterRepId, java.lang.String pMasterRepTimestamp, java.lang.String pSessionStatusInRepo, java.lang.String pStatusMessage, java.lang.Integer pReturnCode)
          Constructs an ExecutionInfo object.

 

Method Summary
 int getMasterRepositoryId()
          Returns the master repository id value.
 java.lang.String getMasterRepositoryTimestamp()
          Returns the master repository timestamp value.
 java.lang.Integer getReturnCode()
          Get return code of the session if the execution is synchronous.
 long getSessionId()
          Returns the session id value.
 ExecutionInfo.SessionStatus getSessionStatus()
          Returns the session status value.
 java.lang.String getSessionStatusInRepository()
          Returns the session status in repository value.
 java.lang.String getStatusMessage()
          Returns the status message value.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ExecutionInfo

public ExecutionInfo(long pSessionId,
                     int pSessionThreadId,
                     long pThreadCreationTime,
                     int pMasterRepId,
                     java.lang.String pMasterRepTimestamp,
                     java.lang.String pSessionStatusInRepo,
                     java.lang.String pStatusMessage,
                     java.lang.Integer pReturnCode)
Constructs an ExecutionInfo object.
Parameters:
pSessionId - session id
pSessionThreadId - session thread id
pThreadCreationTime - thread creation time
pMasterRepId - master repository id
pMasterRepTimestamp - master repository timestamp
pSessionStatusInRepo - session status in repository
pStatusMessage - status message
pReturnCode - return code

Method Detail

getSessionStatus

public ExecutionInfo.SessionStatus getSessionStatus()
Returns the session status value.
Returns:
known status of the session
See Also:
ExecutionInfo.SessionStatus

getStatusMessage

public java.lang.String getStatusMessage()
Returns the status message value.
Returns:
status message of the session

getReturnCode

public java.lang.Integer getReturnCode()
Get return code of the session if the execution is synchronous.

The return code is obtained from the execution channel of the last task, e.g. operating system code, database error code, etc. It will be "0" (zero) in case of success.

If the execution is asynchronous, this method return null, as there is no return code yet.
Returns:
return code for synchronous invocation, null otherwise

getSessionStatusInRepository

public java.lang.String getSessionStatusInRepository()
Returns the session status in repository value.
Returns:
known session status as it is in repository

getSessionId

public long getSessionId()
Returns the session id value.
Returns:
the session id

getMasterRepositoryTimestamp

public java.lang.String getMasterRepositoryTimestamp()
Returns the master repository timestamp value.
Returns:
the master repository timestamp

getMasterRepositoryId

public int getMasterRepositoryId()
Returns the master repository id value.
Returns:
the master repository id value.

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.