Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.project
Class StepOsCommand

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.project.Step
              extended by oracle.odi.domain.project.StepOsCommand
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class StepOsCommand
extends Step

Subclass of Step representing a step that contains an OS (Operating System) command.

Such step will be used inside an OdiPackage to express execution of an OS command as a simple string.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.odi.domain.project.Step
Step.LogLevel
 
Field Summary
 
Fields inherited from class oracle.odi.domain.project.Step
NAME_MAX_LENGTH
 
Constructor Summary
StepOsCommand(OdiPackage pPackage, java.lang.String pName)
          Constructor that sets the parent OdiPackage and the step name.
 
Method Summary
 Expression getCommandExpression()
          Returns the expression that define the OS command to be executed when executing this step.
 void setCommandExpression(Expression pCommand)
          Sets the expression that defines the OS command to be executed when executing this step.
 void setCommandExpression(java.lang.String pCommand, GlobalExpressionContext pGlobalContext)
          Sets the expression that defines the OS command to be executed when executing this step.
 
Methods inherited from class oracle.odi.domain.project.Step
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getSecurityContainer, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccess
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepOsCommand

public StepOsCommand(OdiPackage pPackage,
                     java.lang.String pName)
Constructor that sets the parent OdiPackage and the step name.

Parameters:
pPackage - the package that will hold this step
pName - the name of the step to be created
Throws:
java.lang.IllegalArgumentException - if the package is null or if the name is null, empty or longer than
Method Detail

getCommandExpression

public Expression getCommandExpression()
Returns the expression that define the OS command to be executed when executing this step.

Returns:
an Expression object
See Also:
setCommandExpression(Expression)

setCommandExpression

public void setCommandExpression(Expression pCommand)
Sets the expression that defines the OS command to be executed when executing this step.

Parameters:
pCommand - the expression
See Also:
setCommandExpression(String, GlobalExpressionContext), getCommandExpression()

setCommandExpression

public void setCommandExpression(java.lang.String pCommand,
                                 GlobalExpressionContext pGlobalContext)
Sets the expression that defines the OS command to be executed when executing this step.

Parameters:
pCommand - the expression
pGlobalContext - the global context that will be used to reference global ODI objects (like variables, sequences...)
See Also:
setCommandExpression(Expression), getCommandExpression()

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.