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 FormModifier and Type | Method and Description |
---|---|
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 |
getLoadPlanInstanceId() |
int |
getLogHistoryRetainedNbDays() |
OdiLogicalAgent |
getLogicalAgent() |
java.lang.String |
getName()
Returns the name of this entity instance.
|
OdiLoadPlanInstanceStepSerial |
getRootStep() |
java.util.Collection |
getRuns() |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
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 |
setContext(OdiContext context) |
void |
setLogicalAgent(OdiLogicalAgent logicalAgent) |
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded
getGlobalId
public OdiLoadPlan getLoadPlan()
OdiLoadPlanInstance
is defined.OdiLoadPlan
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.
getInternalId
in interface IRepositoryEntity
public java.util.Collection getFlexFieldsValues()
IFlexFieldUser
IFlexFieldUser
.
In most implementations method IFlexFieldUser.initFlexFields(IOdiFlexFieldFinder)
should be
called before calling this method.getFlexFieldsValues
in interface IFlexFieldUser
public void initFlexFields(IOdiFlexFieldFinder odiFlexFieldFinder)
IFlexFieldUser
IFlexFieldUser
.initFlexFields
in interface IFlexFieldUser
odiFlexFieldFinder
- 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()
OdiLoadPlanInstance
public java.lang.String getName()
IOdiEntity
getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
OdiLoadPlanInstance
public java.lang.String getSessionKeywordsAsString()
public OdiLoadPlan.SessionLogsBehavior getSessionLogsDefaultBehaviorForScenarios()
OdiLoadPlanInstance
.OdiLoadPlan.SessionLogsBehavior
public OdiLoadPlan.SessionStepLogsBehavior getSessionLogsDefaultBehaviorForScenarioSteps()
OdiLoadPlan.SessionLogsBehavior
public 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()
OdiLoadPlanInstance
public java.util.List getExceptions()
OdiLoadPlanInstanceException
defined for this OdiLoadPlanInstance
public OdiContext getContext()
setContext(OdiContext)
,
OdiContext
public void setContext(OdiContext context)
context
- Forced Context that will be used to execute this Step.getContext()
,
OdiContext
public OdiLogicalAgent getLogicalAgent()
setLogicalAgent(OdiLogicalAgent)
,
OdiLogicalAgent
public void setLogicalAgent(OdiLogicalAgent logicalAgent)
logicalAgent
- Forced logical agent in charge of executing this Step.getLogicalAgent()
,
OdiLogicalAgent
public java.util.List getVariables()
OdiLoadPlanInstanceVariables
defined for this OdiLoadPlanInstance
public java.util.Collection getRuns()
OdiLoadPlanInstance
public OdiLoadPlanInstanceRun getInstanceRun(java.lang.Long nbRun)
OdiLoadPlanInstance
public java.lang.Long getLastRunCount()
public OdiLoadPlanInstanceStepLog getLastActualSuccessStepLog(OdiLoadPlanInstanceStep pStep)
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity