public class OdiSessionBlueprintTask extends AbstractRuntimeTask implements IStepTask
OdiSessionBlueprintTask
is the part of blueprint of ODI Session, representing Task
of OdiScenario
. Basically, it is the copy of OdiScenarioTask
.
Life-cycle of OdiSessionBlueprintTask
follows the life-cycle of enclosing
OdiSessionBlueprint
.
External SDK users should use this object for read-only purpose.
OdiSessionBlueprint}
,
OdiSessionBlueprintStep}
,
Serialized FormModifier and Type | Method and Description |
---|---|
java.util.List |
getChildStepTasks() |
java.util.List |
getChildTasks()
Returns the list of child tasks.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
OdiSessionBlueprintTask |
getParentTask()
Returns the parent composite session blueprint task for this task (it could be Parallel or Serial Parent).
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
OdiSessionBlueprintStep |
getSessionBlueprintStep()
Returns the enclosing
OdiSessionBlueprintStep . |
OdiSessionTaskLog |
getSessionTaskLog(OdiSession pSession,
int stepRunNumber)
Returns the
OdiSessionTaskLog representing the log of this OdiSessionBlueprintTask
execution in the scope of specified OdiSession for specified step run number. |
void |
setTaskType(IProcedureLine.LineType pTaskType)
Sets this task's type to one of the values defined in
IProcedureLine.LineType . |
int |
totalNonContainerTasks() |
getExecutionChannel, getLogCounter, getLogLevel, getName, getOrder, getOrigOrder, getSourceCommand, getSourceCommitMode, getSourceContextCode, getSourceIsolationLevel, getSourceLogicalSchemaName, getSourceTechnoCode, getSourceTransactionChannel, getTargetCommand, getTargetCommitMode, getTargetContextCode, getTargetIsolationLevel, getTargetLogicalSchemaName, getTargetTechnoCode, getTargetTransactionChannel, getTaskName1, getTaskName2, getTaskName3, getTaskType, getType, isIgnoreError, isLogFinalCommand, isSourceCommandEncrypted, isTargetCommandEncrypted, setLogCounter
equals, getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, hashCode, invokeCustomizedPersistenceMethodFor, toString
getName, getSourceCommand, getTargetCommand, getTaskName1, getTaskName2, getTaskName3, getTaskType, getType, setLogCounter
public OdiSessionBlueprintTask(int pOrder, TaskType pType)
pOrder
- task orderpType
- task typepublic OdiSessionBlueprintStep getSessionBlueprintStep()
OdiSessionBlueprintStep
.OdiSessionBlueprintStep
public OdiSessionBlueprintTask getParentTask()
getParentTask
in interface IStepTask
public java.util.List getChildTasks()
public OdiSessionTaskLog getSessionTaskLog(OdiSession pSession, int stepRunNumber)
OdiSessionTaskLog
representing the log of this OdiSessionBlueprintTask
execution in the scope of specified OdiSession
for specified step run number.pSession
- sessionstepRunNumber
- step run number in cycle.OdiSessionTaskLog
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 IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public void setTaskType(IProcedureLine.LineType pTaskType)
IProcedureLine.LineType
.
See IProcedureLine.LineType
for details.setTaskType
in interface IStepTask
pTaskType
- task type to set.public java.util.List getChildStepTasks()
getChildStepTasks
in interface IStepTask
public int totalNonContainerTasks()
totalNonContainerTasks
in interface IStepTask