org.etlunit.feature.file.FileRuntimeSupport Maven / Gradle / Ivy
package org.etlunit.feature.file;
import org.etlunit.io.file.DataFileSchema;
import org.etlunit.parser.ETLTestValueObject;
import java.io.File;
import java.io.IOException;
import java.util.List;
public interface FileRuntimeSupport
{
File getDataFile(String package_, String name);
File getDataFile(String name);
File getAssertionFile(String package_, String name);
File getAssertionFile(String name);
File getGeneratedDataFile(String package_, String name);
File getGeneratedDataFile(String name);
File getReferenceFile(String path, String name);
File getDataFileDir(String package_);
File getDataFileDir();
void registerFileProducer(FileProducer producer);
FileProducer getRegisteredProducer(String name);
List getReferenceFileSchemaPackages();
List getReferenceFileSchemasForPackage(String package_);
File getReferenceFileSchema(
String package_,
String name
);
File getReferenceFileSchema(
String name
);
DataFileSchema locateReferenceFileSchema(
String package_,
String name,
String generifiedName,
ETLTestValueObject parameters
);
DataFileSchema locateReferenceFileSchema(
String name,
String generifiedName,
ETLTestValueObject parameters
);
void persistDataFileSchema(DataFileSchema schema) throws IOException;
void persistDataFileSchema(String package_, DataFileSchema schema) throws IOException;
}