public class OdiLoadPlanInstance extends oracle.odi.domain.support.AbstractOdiEntity implements IWorkRuntimeOdiEntity, oracle.odi.domain.impexp.IExportable, IFlexFieldUser
The OdiLoadPlanInstance represents the state of an OdiLoadPlan once it's started.
 Its main use is to keep an history of a load plan start, in order to be able to restart it in the same state.
 
This object is created and persisted in the repository by the code generation process and it's for consultation only.
OdiLoadPlanInstanceStep, 
OdiLoadPlanInstanceVariable, 
OdiLoadPlanInstanceException, 
IOdiEntityManager, 
IOdiEntity, 
Serialized Form| Modifier and Type | Method and Description | 
|---|---|
CecBehavior | 
getCecLprBehavior()  | 
java.lang.Number | 
getCecLprPollIntv()  | 
OdiContext | 
getContext()  | 
java.lang.String | 
getDescription()  | 
java.util.List | 
getExceptions()  | 
java.util.Collection | 
getFlexFieldsValues()
Obtains flex fields values related to this  
IFlexFieldUser. | 
OdiLoadPlanInstanceRun | 
getInstanceRun(java.lang.Long nbRun)  | 
java.io.Serializable | 
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
 irrespective of the actual type of identity used. 
 | 
OdiLoadPlanInstanceStepLog | 
getLastActualSuccessStepLog(OdiLoadPlanInstanceStep pStep)  | 
java.lang.Long | 
getLastRunCount()  | 
OdiLoadPlan | 
getLoadPlan()  | 
java.lang.Number | 
getLoadPlanId()
Get the load plan id. 
 | 
java.lang.Number | 
getLoadPlanInstanceId()  | 
int | 
getLogHistoryRetainedNbDays()  | 
OdiLogicalAgent | 
getLogicalAgent()  | 
java.lang.Number | 
getMaxCecLpr()  | 
java.lang.String | 
getName()
Returns the name of this entity instance. 
 | 
OdiLoadPlanInstanceStepSerial | 
getRootStep()  | 
java.util.Collection | 
getRuns()  | 
java.lang.String | 
getSessionKeywordsAsString()  | 
OdiLoadPlan.SessionLogsBehavior | 
getSessionLogsDefaultBehaviorForScenarios()
Indicates how logs will be maintained by default for the sessions of each of the scenarios started by the  
OdiLoadPlanInstance. | 
OdiLoadPlan.SessionStepLogsBehavior | 
getSessionLogsDefaultBehaviorForScenarioSteps()
Indicates how logs will be maintained by default for the session steps of each of the scenarios started by the Load Plan instance. 
 | 
int | 
getTaskLogLevel()  | 
java.util.List | 
getVariables()  | 
void | 
initFlexFields(IOdiFlexFieldFinder odiFlexFieldFinder)
Initialize flex fields related to this  
IFlexFieldUser. | 
void | 
setCecLprBehavior(CecBehavior cecLprBehavior)
Set the  
CecBehavior of this load plan instance that applies when getMaxCecLpr() returns a positive value. | 
void | 
setCecLprPollIntv(java.lang.Number cecLprPollIntv)
Set the polling interval (in seconds) that applies when getMaxCecLpr() returns a positive value and getCecLprBehavior() is WAIT. 
 | 
void | 
setContext(OdiContext context)  | 
void | 
setLogicalAgent(OdiLogicalAgent logicalAgent)  | 
void | 
setMaxCecLpr(java.lang.Number maxCecLpr)
Set the maximum number of allowed concurrent load plan runs for this Load Plan Instance. 
 | 
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew, preCommit, toStringequals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCodegetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getParentpublic java.lang.Number getLoadPlanId()
public OdiLoadPlan getLoadPlan()
OdiLoadPlanInstance is defined.OdiLoadPlanpublic 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.
 
getInternalId in interface IRepositoryEntitypublic java.util.Collection getFlexFieldsValues()
IFlexFieldUserIFlexFieldUser.
 In most implementations method IFlexFieldUser.initFlexFields(IOdiFlexFieldFinder) should be
 called before calling this method.getFlexFieldsValues in interface IFlexFieldUserpublic void initFlexFields(IOdiFlexFieldFinder odiFlexFieldFinder)
IFlexFieldUserIFlexFieldUser.initFlexFields in interface IFlexFieldUserodiFlexFieldFinder - OdiFlexField finder to be used to query flex fieldspublic OdiLoadPlanInstanceStepSerial getRootStep()
OdiLoadPlanInstanceStep defined as root for this OdiLoadPlanInstance. Creates a root OdiLoadPlanInstanceStepSerial.initializeRootStep()public java.lang.Number getLoadPlanInstanceId()
OdiLoadPlanInstancepublic java.lang.String getName()
IOdiEntitygetName in interface IFlexFieldUsergetName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntityOdiLoadPlanInstancepublic java.lang.String getSessionKeywordsAsString()
public OdiLoadPlan.SessionLogsBehavior getSessionLogsDefaultBehaviorForScenarios()
OdiLoadPlanInstance.OdiLoadPlan.SessionLogsBehaviorpublic OdiLoadPlan.SessionStepLogsBehavior getSessionLogsDefaultBehaviorForScenarioSteps()
OdiLoadPlan.SessionLogsBehaviorpublic int getLogHistoryRetainedNbDays()
OdiLoadPlanInstance.public int getTaskLogLevel()
OdiLoadPlanInstanceStepRunScenario are configured as RestartType = RUN_SCENARIO_FROM_STEP or RUN_SCENARIO_FROM_TASK, this property is ignored.public java.lang.String getDescription()
OdiLoadPlanInstancepublic java.util.List getExceptions()
OdiLoadPlanInstanceException defined for this OdiLoadPlanInstancepublic OdiContext getContext()
setContext(OdiContext), 
OdiContextpublic void setContext(OdiContext context)
context - Forced Context that will be used to execute this Step.getContext(), 
OdiContextpublic OdiLogicalAgent getLogicalAgent()
setLogicalAgent(OdiLogicalAgent), 
OdiLogicalAgentpublic void setLogicalAgent(OdiLogicalAgent logicalAgent)
logicalAgent - Forced logical agent in charge of executing this Step.getLogicalAgent(), 
OdiLogicalAgentpublic java.util.List getVariables()
OdiLoadPlanInstanceVariables defined for this OdiLoadPlanInstancepublic java.util.Collection getRuns()
OdiLoadPlanInstancepublic OdiLoadPlanInstanceRun getInstanceRun(java.lang.Long nbRun)
OdiLoadPlanInstancepublic java.lang.Long getLastRunCount()
public OdiLoadPlanInstanceStepLog getLastActualSuccessStepLog(OdiLoadPlanInstanceStep pStep)
public java.lang.Number getMaxCecLpr()
public void setMaxCecLpr(java.lang.Number maxCecLpr)
maxCecLpr - public CecBehavior getCecLprBehavior()
CecBehavior of this load plan instance that applies when getMaxCecLpr() returns a positive value.public void setCecLprBehavior(CecBehavior cecLprBehavior)
CecBehavior of this load plan instance that applies when getMaxCecLpr() returns a positive value.public java.lang.Number getCecLprPollIntv()
public void setCecLprPollIntv(java.lang.Number cecLprPollIntv)