public abstract class BaseParrotProvider extends DataGeneratorProviderConfig implements GeneratedDataValue
Modifier and Type | Class and Description |
---|---|
class |
BaseParrotProvider.ParrotProviderResult |
counter, repeatValues, repetition
Constructor and Description |
---|
BaseParrotProvider() |
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)
|
protected abstract String |
getNewValueInternal() |
String |
getValue()
Call this when you want to get random value which takes into consideration all provider settings
|
protected BaseParrotProvider.ParrotProviderResult |
tweetNextValue(String aValue,
String nValue) |
getIterationCount, getRepeatValues, setIterationCount, setRepeatValues
protected BaseParrotProvider.ParrotProviderResult tweetNextValue(String aValue, String nValue)
public String getValue()
GeneratedDataValue
getValue
in interface GeneratedDataValue
protected abstract String getNewValueInternal()
public String getNewValue()
GeneratedDataValue
getNewValue
in interface GeneratedDataValue
Copyright © 2019. All rights reserved.