|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.reuters.msgtest.load.value.IntRangeValueGenerator
Selects values for an integer range based on a selection criteria (sequential, random, etc).
Field Summary |
Fields inherited from interface com.reuters.msgtest.load.value.ValueGenerator |
RANDOM, SEQUENTIAL |
Constructor Summary | |
IntRangeValueGenerator(int min,
int max,
java.lang.String selection)
Construct a DelimListValueGenerator using the parameters. |
|
IntRangeValueGenerator(ValueSet valueSet)
Constructs a IntRangeValueGenerator from a Valueset. |
Method Summary | |
boolean |
changeValue()
Changes the current value. |
java.lang.String |
getCurrentValue()
|
java.lang.String |
getCurrentValue(java.lang.String pSubstr)
Returns the value of the current element in this set corresponding to the given substitution string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntRangeValueGenerator(ValueSet valueSet)
valueSet
- the valueset object constructed from the
xml config file.public IntRangeValueGenerator(int min, int max, java.lang.String selection)
min
- the min range valuemax
- the max range valueselection
- the selection criteria from the range.Method Detail |
public java.lang.String getCurrentValue()
ValueGenerator.getCurrentValue(java.lang.String)
public java.lang.String getCurrentValue(java.lang.String pSubstr)
ValueGenerator
getCurrentValue
in interface ValueGenerator
pSubstr
- the substitution string
ValueGenerator.getCurrentValue(java.lang.String)
public boolean changeValue()
ValueGenerator
changeValue
in interface ValueGenerator
ValueGenerator.changeValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |