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 Form| Constructor and Description |
|---|
OdiSessionBlueprintTask(int pOrder,
TaskType pType)
FOR INTERNAL USE ONLY.
|
| Modifier 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 |
setExecutionChannel(OdiTechnology.ExecutionChannel pExecutionChannel)
FOR INTERNAL USE ONLY.
|
void |
setIgnoreError(boolean pIgnoreError)
FOR INTERNAL USE ONLY.
|
void |
setLogCounter(OdiSessionTaskLog.LogCounter pLogCounter)
FOR INTERNAL USE ONLY.
|
void |
setLogFinalCommand(boolean pLogFinalCommand)
FOR INTERNAL USE ONLY.
|
void |
setLogLevel(LogLevel pLogLevel)
FOR INTERNAL USE ONLY.
|
void |
setOrder(int pOrder)
FOR INTERNAL USE ONLY.
|
void |
setOrigOrder(int pOrigOrder)
FOR INTERNAL USE ONLY.
|
void |
setParentTask(IStepTask pParentStepTask)
FOR INTERNAL USE ONLY.
|
void |
setSourceCommand(java.lang.String pSourceCommand)
FOR INTERNAL USE ONLY.
|
void |
setSourceCommandEncrypted(boolean pSourceCommandEncrypted)
FOR INTERNAL USE ONLY.
|
void |
setSourceCommandEncryptionKey(java.lang.String pSourceCommandEncryptionKey)
FOR INTERNAL USE ONLY.
|
void |
setSourceCommandEncryptionKeyVector(java.lang.String pSourceCommandEncryptionKeyVector)
FOR INTERNAL USE ONLY.
|
void |
setSourceCommitMode(OdiSessionTaskLog.CommitMode pSourceCommitMode)
FOR INTERNAL USE ONLY.
|
void |
setSourceContextCode(java.lang.String pSourceContextCode)
FOR INTERNAL USE ONLY.
|
void |
setSourceIsolationLevel(OdiSessionTaskLog.IsolationLevel pSourceIsolationLevel)
FOR INTERNAL USE ONLY.
|
void |
setSourceLogicalSchemaName(java.lang.String pSourceLogicalSchemaName)
FOR INTERNAL USE ONLY.
|
void |
setSourceTechnoCode(java.lang.String pSourceTechnoCode)
FOR INTERNAL USE ONLY.
|
void |
setSourceTransactionChannel(TransactionChannel pSourceTransactionChannel)
FOR INTERNAL USE ONLY.
|
void |
setTargetCommand(java.lang.String pTargetCommand)
FOR INTERNAL USE ONLY.
|
void |
setTargetCommandEncrypted(boolean pTargetCommandEncrypted)
FOR INTERNAL USE ONLY.
|
void |
setTargetCommandEncryptionKey(java.lang.String pTargetCommandEncryptionKey)
FOR INTERNAL USE ONLY.
|
void |
setTargetCommandEncryptionKeyVector(java.lang.String pTargetCommandEncryptionKeyVector)
FOR INTERNAL USE ONLY.
|
void |
setTargetCommitMode(OdiSessionTaskLog.CommitMode pTargetCommitMode)
FOR INTERNAL USE ONLY.
|
void |
setTargetContextCode(java.lang.String pTargetContextCode)
FOR INTERNAL USE ONLY.
|
void |
setTargetIsolationLevel(OdiSessionTaskLog.IsolationLevel pTargetIsolationLevel)
FOR INTERNAL USE ONLY.
|
void |
setTargetLogicalSchemaName(java.lang.String pTargetLogicalSchemaName)
FOR INTERNAL USE ONLY.
|
void |
setTargetTechnoCode(java.lang.String pTargetTechnoCode)
FOR INTERNAL USE ONLY.
|
void |
setTargetTransactionChannel(TransactionChannel pTargetTransactionChannel)
FOR INTERNAL USE ONLY.
|
void |
setTaskName1(java.lang.String pTaskName1)
FOR INTERNAL USE ONLY.
|
void |
setTaskName2(java.lang.String pTaskName2)
FOR INTERNAL USE ONLY.
|
void |
setTaskName3(java.lang.String pTaskName3)
FOR INTERNAL USE ONLY.
|
void |
setTaskType(IProcedureLine.LineType pTaskType)
Sets this task's type to one of the values defined in
IProcedureLine.LineType. |
void |
setType(TaskType pType)
FOR INTERNAL USE ONLY.
|
int |
totalNonContainerTasks() |
getExecutionChannel, getLogCounter, getLogLevel, getName, getOrder, getOrigOrder, getSourceCommand, getSourceCommandEncryptionKey, getSourceCommitMode, getSourceContextCode, getSourceIsolationLevel, getSourceLogicalSchemaName, getSourceTechnoCode, getSourceTransactionChannel, getTargetCommand, getTargetCommandEncryptionKey, getTargetCommitMode, getTargetContextCode, getTargetIsolationLevel, getTargetLogicalSchemaName, getTargetTechnoCode, getTargetTransactionChannel, getTaskName1, getTaskName2, getTaskName3, getTaskType, getType, isIgnoreError, isLogFinalCommand, isSourceCommandEncrypted, isTargetCommandEncrypted, setLogCounterequals, getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, hashCode, invokeCustomizedPersistenceMethodFor, toStringgetName, getSourceCommand, getTargetCommand, getTaskName1, getTaskName2, getTaskName3, getTaskType, getType, setLogCounterpublic OdiSessionBlueprintTask(int pOrder,
TaskType pType)
Constructs the OdiSessionBlueprintTask with specified order and type.
pOrder - task orderpType - task typepublic OdiSessionBlueprintStep getSessionBlueprintStep()
OdiSessionBlueprintStep.OdiSessionBlueprintSteppublic void setOrigOrder(int pOrigOrder)
setOrigOrder in interface IStepTaskpublic void setOrder(int pOrder)
public void setTaskName1(java.lang.String pTaskName1)
public void setTaskName2(java.lang.String pTaskName2)
public void setTaskName3(java.lang.String pTaskName3)
public void setType(TaskType pType)
public void setSourceContextCode(java.lang.String pSourceContextCode)
setSourceContextCode in interface IStepTaskpublic void setSourceLogicalSchemaName(java.lang.String pSourceLogicalSchemaName)
setSourceLogicalSchemaName in interface IStepTaskpublic void setSourceTransactionChannel(TransactionChannel pSourceTransactionChannel)
setSourceTransactionChannel in interface IStepTaskpublic void setSourceIsolationLevel(OdiSessionTaskLog.IsolationLevel pSourceIsolationLevel)
public void setSourceCommitMode(OdiSessionTaskLog.CommitMode pSourceCommitMode)
setSourceCommitMode in interface IStepTaskpublic void setSourceTechnoCode(java.lang.String pSourceTechnoCode)
setSourceTechnoCode in interface IStepTaskpublic void setTargetContextCode(java.lang.String pTargetContextCode)
setTargetContextCode in interface IStepTaskpublic void setTargetLogicalSchemaName(java.lang.String pTargetLogicalSchemaName)
setTargetLogicalSchemaName in interface IStepTaskpublic void setTargetTransactionChannel(TransactionChannel pTargetTransactionChannel)
setTargetTransactionChannel in interface IStepTaskpublic void setTargetIsolationLevel(OdiSessionTaskLog.IsolationLevel pTargetIsolationLevel)
public void setTargetCommitMode(OdiSessionTaskLog.CommitMode pTargetCommitMode)
setTargetCommitMode in interface IStepTaskpublic void setTargetTechnoCode(java.lang.String pTargetTechnoCode)
setTargetTechnoCode in interface IStepTaskpublic void setIgnoreError(boolean pIgnoreError)
setIgnoreError in interface IStepTaskpublic void setLogLevel(LogLevel pLogLevel)
setLogLevel in interface IStepTaskpublic void setLogCounter(OdiSessionTaskLog.LogCounter pLogCounter)
public void setExecutionChannel(OdiTechnology.ExecutionChannel pExecutionChannel)
setExecutionChannel in interface IStepTaskpublic void setSourceCommand(java.lang.String pSourceCommand)
public void setTargetCommand(java.lang.String pTargetCommand)
public void setSourceCommandEncrypted(boolean pSourceCommandEncrypted)
public void setTargetCommandEncrypted(boolean pTargetCommandEncrypted)
public void setSourceCommandEncryptionKey(java.lang.String pSourceCommandEncryptionKey)
public void setTargetCommandEncryptionKey(java.lang.String pTargetCommandEncryptionKey)
public void setSourceCommandEncryptionKeyVector(java.lang.String pSourceCommandEncryptionKeyVector)
public void setTargetCommandEncryptionKeyVector(java.lang.String pTargetCommandEncryptionKeyVector)
public void setLogFinalCommand(boolean pLogFinalCommand)
setLogFinalCommand in interface IStepTaskpublic OdiSessionBlueprintTask getParentTask()
getParentTask in interface IStepTaskpublic java.util.List getChildTasks()
public void setParentTask(IStepTask pParentStepTask)
setParentTask in interface IStepTaskpParentTask - parent taskpublic 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.OdiSessionTaskLogpublic 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 IRepositoryEntity getSecurityContainer()
IRepositoryEntitygetSecurityContainer in interface IRepositoryEntitypublic void setTaskType(IProcedureLine.LineType pTaskType)
IProcedureLine.LineType.
See IProcedureLine.LineType for details.setTaskType in interface IStepTaskpTaskType - task type to set.public java.util.List getChildStepTasks()
getChildStepTasks in interface IStepTaskpublic int totalNonContainerTasks()
totalNonContainerTasks in interface IStepTask