public static class StepVariable.SetVariable extends java.lang.Object implements StepVariable.IVariableAction
StepVariable.
May be constructed as a SetVariable with assign value or with increment value.| Constructor and Description |
|---|
SetVariable(java.lang.Number pIncrementValue)
Construct with the increment value for this variable.
|
SetVariable(StepVariable pStepVariable)
Create a new
StepVariable.SetVariable. |
SetVariable(java.lang.String pAssignValue)
Construct with the assignee value for this variable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Number |
getIncrementValue()
Get the increment value associated with this variable.
|
java.lang.String |
getValue()
Get the assign value for this variable.
|
boolean |
isIncrementalSetValue()
Returns whether this setVariable use an incremental set value, or not.
|
public SetVariable(StepVariable pStepVariable)
StepVariable.SetVariable.pStepVariable - a steppublic SetVariable(java.lang.String pAssignValue)
pAssignValue - assign value for this variablepublic SetVariable(java.lang.Number pIncrementValue)
pIncrementValue - increment value for this variablepublic java.lang.String getValue()
DomainRuntimeException - if increment value is set. This setVariable is being used for increment.public boolean isIncrementalSetValue()
true if an incremental value is used, false otherwisepublic java.lang.Number getIncrementValue()
DomainRuntimeException - if increment value is not set. This setVariable is being used for assignment.