public class StepVariable extends Step
Step
that will be used inside an OdiPackage
to express
usage/action of a variable for further use inside that OdiPackage
.
Such step will be used to
StepVariable.IVariableAction
implementation that are respectively StepVariable.DeclareVariable
, StepVariable.SetVariable
,
StepVariable.RefreshVariable
and StepVariable.EvaluateVariable
.Modifier and Type | Class and Description |
---|---|
static class |
StepVariable.DeclareVariable
Implements declare action for an
StepVariable . |
static class |
StepVariable.EvaluateVariable
Implements evaluate action for an
StepVariable . |
static interface |
StepVariable.IVariableAction
Type safety interface that implementation classes will use to define
variable actions.
|
static class |
StepVariable.RefreshVariable
Implements refresh action for an
StepVariable . |
static class |
StepVariable.SetVariable
Implements set action for an
StepVariable . |
Step.LogLevel
NAME_MAX_LENGTH
Constructor and Description |
---|
StepVariable(OdiPackage pPackage,
OdiVariable pVariable,
java.lang.String pName)
Constructor that sets the parent
OdiPackage , the OdiVariable upon which
this Step is based and the step name. |
Modifier and Type | Method and Description |
---|---|
StepVariable.IVariableAction |
getAction()
Returns the action proceeded by this step.
|
OdiVariable |
getVariable()
Returns the variable used by this step.
|
void |
setAction(StepVariable.IVariableAction pVariableAction)
Defines the action to do with this variable.
|
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getSecurityContainer, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccess
public StepVariable(OdiPackage pPackage, OdiVariable pVariable, java.lang.String pName)
OdiPackage
, the OdiVariable
upon which
this Step
is based and the step name.pPackage
- the package that will hold this steppName
- the name of the step to be createdpVariable
- the variable this step upon which this step is basedDomainRuntimeException
- if the package is null, if the variable is null or from
another project or if the name is null, empty or longer than public OdiVariable getVariable()
OdiVariable
public StepVariable.IVariableAction getAction()
StepVariable.IVariableAction
objectsetAction(IVariableAction)
public void setAction(StepVariable.IVariableAction pVariableAction)
pVariableAction
- the actiongetAction()