public class OdiLoadPlanInstanceRun
extends oracle.odi.domain.support.AbstractOdiEntity
OdiLoadPlanInstance
Modifier and Type | Class and Description |
---|---|
static class |
OdiLoadPlanInstanceRun.OdiLoadPlanInstanceRunId
Implements the composite key for
OdiContextualSchemaMapping . |
static class |
OdiLoadPlanInstanceRun.Status
Execution status
|
static class |
OdiLoadPlanInstanceRun.StepCaseConditionStatus
Case step clause Evaluation status
|
Modifier and Type | Method and Description |
---|---|
OdiLoadPlanInstanceRun.StepCaseConditionStatus |
getConditionStatus(OdiLoadPlanInstanceCaseCondition pCaseCondition) |
OdiContext |
getContext() |
java.lang.Number |
getDuration()
Deprecated.
as the duration is no more populated by runtime. Use getEndTime-getStartTime to get the duration
|
java.util.Date |
getEndTime() |
java.lang.String |
getErrorMessage() |
java.lang.Long |
getEssJobId()
Returns the ID of ESS Job which started this
OdiLoadPlanInstance . |
java.lang.Long |
getEssRequestExecutionContext()
Returns the RequestExecutionContext of ESS Job which started this
OdiLoadPlanInstance . |
ExecutionMode |
getExecutionMode()
Returns execution mode of this OdiLoadPlanInstanceRun that will be used to
launch an OdiScenario.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
OdiLoadPlanInstance |
getLoadPlanInstance() |
OdiLoadPlanInstanceStepLog |
getLog(OdiLoadPlanInstanceStep pStep) |
OdiLoadPlanInstanceExceptionLog |
getLogForExceptionStep(OdiLoadPlanInstanceStep parentStep,
OdiLoadPlanInstanceStep exceptionStep) |
java.lang.String |
getPhysicalAgentName() |
java.lang.String |
getReturnCode() |
java.lang.Long |
getRunCount() |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
java.util.Date |
getStartTime() |
OdiLoadPlanInstanceRun.Status |
getStatus() |
java.lang.String |
getStatusCode(OdiLoadPlanInstanceRun.Status status) |
java.lang.String |
getUserName() |
boolean |
isEssJobLoadPlanInstance()
Returns true if this
OdiLoadPlanInstance was started by ESS Job, false otherwise. |
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, hashCode, isInstanceLevelSecurityNeeded, isNew, preCommit, toString
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getGlobalId
public ExecutionMode getExecutionMode()
public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId()
method. The necessity for the
getInternalId()
abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null
from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
public OdiLoadPlanInstanceStepLog getLog(OdiLoadPlanInstanceStep pStep)
pStep
- public OdiLoadPlanInstanceExceptionLog getLogForExceptionStep(OdiLoadPlanInstanceStep parentStep, OdiLoadPlanInstanceStep exceptionStep)
public java.util.Date getStartTime()
null
if not yet started.public java.util.Date getEndTime()
null
if not yet finished.@Deprecated public java.lang.Number getDuration()
public OdiLoadPlanInstanceRun.Status getStatus()
public java.lang.String getStatusCode(OdiLoadPlanInstanceRun.Status status)
public java.lang.String getErrorMessage()
null
if not failed.public java.lang.String getReturnCode()
public java.lang.String getUserName()
public OdiContext getContext()
#setOptimizationContext(OdiContext)
,
OdiContext
public java.lang.String getPhysicalAgentName()
public OdiLoadPlanInstance getLoadPlanInstance()
public OdiLoadPlanInstanceRun.StepCaseConditionStatus getConditionStatus(OdiLoadPlanInstanceCaseCondition pCaseCondition)
pCaseCondition
- OdiLoadPlanInstanceCaseCondition
in the current runpublic java.lang.Long getRunCount()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
public java.lang.Long getEssJobId()
OdiLoadPlanInstance
.OdiLoadPlanInstance
java.lang.IllegalStateException
- if this OdiLoadPlanInstance
is not ESS Job relatedpublic java.lang.Long getEssRequestExecutionContext()
OdiLoadPlanInstance
.OdiLoadPlanInstance
java.lang.IllegalStateException
- if this OdiLoadPlanInstance
is not ESS Job relatedpublic boolean isEssJobLoadPlanInstance()
OdiLoadPlanInstance
was started by ESS Job, false otherwise.OdiLoadPlanInstance
was started by ESS Job, false otherwise