| Package | Description |
|---|---|
| org.fastnate.data | |
| org.fastnate.data.files | |
| org.fastnate.data.xml |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataProvider
Implementations of this class will automatically instantiated by the
EntityImporter. |
class |
EntityRegistration
Registers entities by their unique properties to offer them to other data providers.
|
| Modifier and Type | Method and Description |
|---|---|
protected <C extends DataProvider> |
DefaultDataProviderFactory.addProvider(EntityImporter importer,
Class<C> providerClass)
Tries to instantiate the provider from the given class.
|
protected <C extends DataProvider> |
DefaultDataProviderFactory.addProvider(EntityImporter importer,
Constructor<C> constructor)
Tries to create a provider using the given constructor and adds it to list of providers in the
EntityImporter. |
<P extends DataProvider> |
EntityImporter.findDataProvider(Class<P> providerClass)
Resolves the first provider that is an instance of the given class.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Class<? extends DataProvider>> |
AbstractDataProviderFactory.findProviderClasses(org.reflections.Reflections reflections)
Finds all provider classes from the class path, that implement
DataProvider. |
List<DataProvider> |
EntityImporter.getDataProviders() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityImporter.addDataProvider(DataProvider provider)
Adds a provider to the list of available providers.
|
void |
EntityImporter.addDataProvider(DataProvider provider,
int maximumOrderOfDepenendencies)
Adds a provider to the list of available providers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericDataProvider
Imports all entities from all files in
$dataFolder/entities that match a
specific pattern. |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericXmlDataProvider
Imports all entities from all XML files in
$dataFolder/entities. |
Copyright © 2020 fastnate.org. All rights reserved.