/** * Creates a new engine configuration with the essential configuration required by uniVocity for * enabling the definition and execution of data mappings. * * @param engineName the name of the new engine. The engine name is used to obtain instances of * {@link DataIntegrationEngine} and manage them using {@link Univocity} * @param dataStores optional parameter for the configurations of data stores that will have their * entities mapped through this engine. More dataStores can be added later using {@link * #addDataStoreConfigurations(DataStoreConfiguration...)} */ public EngineConfiguration(String engineName, DataStoreConfiguration... dataStores) { Args.notBlank(engineName, "Engine name"); this.engineName = engineName; if (dataStores != null && dataStores.length > 0) { addDataStoreConfigurations(dataStores); } }
/** * Creates an entity field instance with its name. * * @param name a name that describes a particular field in each record of an entity. */ public DefaultEntityField(String name) { Args.notBlank(name, "Field name"); this.name = name.trim(); }