public class OdiLoadPlanInstanceRun
extends 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() |
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() |
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. |
public ExecutionMode getExecutionMode()
public java.io.Serializable getInternalId()
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),
OdiContextpublic 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()
public java.lang.Long getEssJobId()
OdiLoadPlanInstance.OdiLoadPlanInstancejava.lang.IllegalStateException - if this OdiLoadPlanInstance is not ESS Job relatedpublic java.lang.Long getEssRequestExecutionContext()
OdiLoadPlanInstance.OdiLoadPlanInstancejava.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