| Package | Description |
|---|---|
| uk.co.jemos.podam.api |
This package contains PODAM main APIs
|
| uk.co.jemos.podam.typeManufacturers |
Contains Type Manufacturers.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RandomDataProviderStrategy
Adds additional methods for a random data provider strategy.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRandomDataProviderStrategy
Default abstract implementation of a
DataProviderStrategy |
class |
RandomDataProviderStrategyImpl
Default implementation of a
DataProviderStrategy |
| Modifier and Type | Field and Description |
|---|---|
private DataProviderStrategy |
PodamFactoryImpl.strategy
The strategy to use to fill data.
|
| Modifier and Type | Method and Description |
|---|---|
<T> DataProviderStrategy |
DataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
Class<? extends T> specificClass)
Bind an interface/abstract class to a specific implementation.
|
<T> DataProviderStrategy |
AbstractRandomDataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
Class<? extends T> specificClass)
Bind an interface/abstract class to a specific implementation.
|
<T> DataProviderStrategy |
DataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
TypeManufacturer<T> typeManufacturer)
Registers @TypeManufacturer implementation, which will be used to
instantiate objects of a specified type.
|
<T> DataProviderStrategy |
AbstractRandomDataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
TypeManufacturer<T> typeManufacturer)
Registers @TypeManufacturer implementation, which will be used to
instantiate objects of a specified type.
|
DataProviderStrategy |
AbstractExternalFactory.getStrategy() |
DataProviderStrategy |
PodamFactory.getStrategy()
It returns the strategy for this factory.
|
DataProviderStrategy |
PodamFactoryImpl.getStrategy()
It returns the strategy for this factory.
|
<T> DataProviderStrategy |
DataProviderStrategy.removeSpecific(Class<T> abstractClass)
Remove binding of an interface/abstract class to a specific
implementation
|
<T> DataProviderStrategy |
AbstractRandomDataProviderStrategy.removeSpecific(Class<T> abstractClass)
Remove binding of an interface/abstract class to a specific
implementation
|
<T> DataProviderStrategy |
DataProviderStrategy.removeTypeManufacturer(Class<T> type)
Remove binding of a class type to a specific
implementation of type manufacturer
|
<T> DataProviderStrategy |
AbstractRandomDataProviderStrategy.removeTypeManufacturer(Class<T> type)
Remove binding of a class type to a specific
implementation of type manufacturer
|
| Modifier and Type | Method and Description |
|---|---|
PodamFactory |
AbstractExternalFactory.setStrategy(DataProviderStrategy strategy) |
PodamFactory |
PodamFactory.setStrategy(DataProviderStrategy strategy)
Sets the data provider strategy for this factory
|
PodamFactory |
PodamFactoryImpl.setStrategy(DataProviderStrategy strategy)
Sets the data provider strategy for this factory
|
| Constructor and Description |
|---|
PodamFactoryImpl(DataProviderStrategy strategy)
Constructor with non-default strategy
|
PodamFactoryImpl(PodamFactory externalFactory,
DataProviderStrategy strategy)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeStrategy<?> |
TypeManufacturerUtil.findAttributeStrategy(DataProviderStrategy strategy,
List<Annotation> annotations,
Class<?> attributeType)
It returns a
AttributeStrategy if one was specified in
annotations, or null otherwise. |
static Integer |
TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
List<Annotation> annotations,
Class<?> collectionElementType,
Holder<AttributeStrategy<?>> elementStrategyHolder,
Holder<AttributeStrategy<?>> keyStrategyHolder)
Searches for annotation with information about collection/map size
and filling strategies
|
Cloneable |
ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Byte |
ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Map<Object,Object> |
MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Float |
FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Collection<Object> |
CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Integer |
IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
String |
StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Object |
TypeTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Boolean |
BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
T |
TypeManufacturer.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Long |
LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Double |
DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Enum<?> |
EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Short |
ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Character |
CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Copyright © 2016. All rights reserved.