public interface RandomDataProviderStrategy extends DataProviderStrategy
DataProviderStrategy.Order| Modifier and Type | Method and Description |
|---|---|
RandomDataProviderStrategy |
addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
Class<AttributeStrategy<?>> strategyClass)
Bind an annotation to attribute strategy class.
|
AbstractConstructorComparator |
getConstructorHeavyComparator()
Getter for constructor heavy comparator.
|
AbstractConstructorComparator |
getConstructorLightComparator()
Getter for constructor light comparator.
|
AbstractMethodComparator |
getMethodHeavyComparator()
Getter for method heavy comparator.
|
AbstractMethodComparator |
getMethodLightComparator()
Getter for method light comparator.
|
RandomDataProviderStrategy |
removeAttributeStrategy(Class<? extends Annotation> annotationClass)
Remove binding of an annotation to attribute strategy
|
void |
setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
Setter for constructor heavy comparator.
|
void |
setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
Setter for constructor öight comparator.
|
void |
setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
Setter for method heavy comparator.
|
void |
setMethodLightComparator(AbstractMethodComparator methodLightComparator)
Setter for method light comparator.
|
addOrReplaceSpecific, cacheMemoizedObject, clearMemoizationCache, getBoolean, getByte, getByteInRange, getCharacter, getCharacterInRange, getDouble, getDoubleInRange, getFloat, getFloatInRange, getInteger, getIntegerInRange, getLong, getLongInRange, getMaxDepth, getMemoizedObject, getNumberOfCollectionElements, getShort, getShortInRange, getSpecificClass, getStrategyForAnnotation, getStringOfLength, getStringValue, isMemoizationEnabled, removeSpecific, setDefaultNumberOfCollectionElements, setMemoization, sort, sortRandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, Class<AttributeStrategy<?>> strategyClass)
annotationClass - the annotation classstrategyClass - the attribute strategy classRandomDataProviderStrategy removeAttributeStrategy(Class<? extends Annotation> annotationClass)
annotationClass - the annotation class to remove bindingAbstractConstructorComparator getConstructorLightComparator()
void setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
Default implementations are
ConstructorHeavyFirstComparator and
ConstructorLightFirstComparator.
constructorLightComparator - constructor comparator to setAbstractConstructorComparator getConstructorHeavyComparator()
void setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
Default implementations are
ConstructorHeavyFirstComparator and
ConstructorLightFirstComparator.
constructorHeavyComparator - constructor comparator to setAbstractMethodComparator getMethodLightComparator()
void setMethodLightComparator(AbstractMethodComparator methodLightComparator)
Default implementations is
MethodHeavyFirstComparator.
methodLightComparator - method comparator to setAbstractMethodComparator getMethodHeavyComparator()
void setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
Default implementations is
MethodHeavyFirstComparator.
methodHeavyComparator - method comparator to setCopyright © 2015. All rights reserved.