public class StepOdiCommand extends Step
Step representing a step that contains an ODI command.
Such step will be used inside an OdiPackage to express execution
of an ODI tool into a string command.
Step.LogLevelNAME_MAX_LENGTH| Constructor and Description |
|---|
StepOdiCommand(OdiPackage pPackage,
java.lang.String pName)
Constructor that sets the parent
OdiPackage and the step name. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getCommandExpression()
Returns the expression that define the ODI command (aka tool) to be executed when executing this step.
|
void |
setCommandExpression(Expression pCommand)
Sets the expression that defines the ODI command (aka tool) to be executed when executing this step.
|
void |
setCommandExpression(java.lang.String pCommand,
GlobalExpressionContext pGlobalContext)
Sets the expression that defines the ODI command (aka tool) to be executed when executing this step.
|
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccesspublic StepOdiCommand(OdiPackage pPackage, java.lang.String pName)
OdiPackage and the step name.pPackage - the package that will hold this steppName - the name of the step to be createdDomainRuntimeException - if the package is null or if the name is null, empty or
longer than public void setCommandExpression(Expression pCommand)
Read documentation about ODI package tools for more information.
pCommand - the expressionDomainRuntimeException - if the command is not an ODI Tool command.setCommandExpression(String, GlobalExpressionContext),
getCommandExpression()public void setCommandExpression(java.lang.String pCommand,
GlobalExpressionContext pGlobalContext)
Read documentation about ODI package tools for more information.
pCommand - the expressionpGlobalContext - the global context that will be used to reference global ODI objects (like variables, sequences...)DomainRuntimeException - if the command is not an ODI Tool command.setCommandExpression(Expression),
getCommandExpression()public Expression getCommandExpression()
Read documentation about ODI package tools for more information.
Expression objectsetCommandExpression(Expression)