public class ConstantStringValueProvider extends DataGeneratorProviderConfig implements GeneratedDataValue
counter, repeatValues, repetition
Constructor and Description |
---|
ConstantStringValueProvider(String str) |
Modifier and Type | Method and Description |
---|---|
String |
getNewValue()
Call this when you want to force creation of absolutely new value (doesn't take into account provider settings
like repeat count)
|
String |
getValue()
Call this when you want to get random value which takes into consideration all provider settings
|
getIterationCount, getRepeatValues, setIterationCount, setRepeatValues
public ConstantStringValueProvider(String str)
public String getValue()
GeneratedDataValue
getValue
in interface GeneratedDataValue
public String getNewValue()
GeneratedDataValue
getNewValue
in interface GeneratedDataValue
Copyright © 2019. All rights reserved.