Skip navigation links
oracle.wcps.conductor.scenario.syntax
Interface IForEachStatement
- All Superinterfaces:
- ICompoundStatement, IIteratingStatement, IStatement
-
public interface IForEachStatement
- extends IIteratingStatement
Looping statement to iterate over a collection of items.
The collection expression must resolve to a java.util.Collection
or java.util.Map
to iterate. If the collection resolves to java.util.Map
, each item will resolve to java.util.Map.Entry
.
Field Summary |
static java.lang.String |
DEFAULT_VARIABLE_NAME
Specifies the default variable name to "item" if variableName is not defined. |
Method Summary |
java.lang.String |
getCollectionExpression()
Returns the expression that is used to resolve the collection within the IScenarioContext. |
java.lang.String |
getVariableName()
Returns the variable name, if specified. |
void |
setCollectionExpression(java.lang.String expression)
Sets the expression that is used to resolve the collection within the IScenarioContext. |
void |
setVariableName(java.lang.String variableName)
Sets the name of the variable to be used during the current iteration. |
Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement |
getComments, getContainerScenarioName, getErrorLevel, getErrorMessage, getId, getLabel, getParentStatement, raiseError, setComments, setId, setLabel |
DEFAULT_VARIABLE_NAME
static final java.lang.String DEFAULT_VARIABLE_NAME
- Specifies the default variable name to "item" if variableName is not defined.
- See Also:
- Constant Field Values
getVariableName
java.lang.String getVariableName()
- Returns the variable name, if specified.
setVariableName
void setVariableName(java.lang.String variableName)
- Sets the name of the variable to be used during the current iteration.
getCollectionExpression
java.lang.String getCollectionExpression()
- Returns the expression that is used to resolve the collection within the IScenarioContext.
setCollectionExpression
void setCollectionExpression(java.lang.String expression)
- Sets the expression that is used to resolve the collection within the IScenarioContext.
For example, ${customerList}.
Skip navigation links
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.