A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractJdbcConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
Abstract connection factory that can be used to automatically wrap exception.
AbstractJdbcConnectionFactory() - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
Create new factory.
AbstractJsonParser - Class in com.github.mjeanroy.dbunit.json
Abstract implementation of JsonParser that create Reader from given Resource and execute AbstractJsonParser.doParse(Reader).
AbstractJsonParser() - Constructor for class com.github.mjeanroy.dbunit.json.AbstractJsonParser
 
addReplacement(String, Object) - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
Add new replacement object.
after() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRule
 
afterTest(Method) - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
Unload data set after test execution: Get new SQL connection. Remove DataSet and execute tear down operation. Close SQL connection.
afterTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
 
Annotations - Class in com.github.mjeanroy.dbunit.commons.reflection
Static Annotation Utilities.
append(String, char) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
Append new char field.
append(String, Object) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
Append new object field.
append(String, String) - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
Append new string field.
apply(Statement, Description) - Method in class com.github.mjeanroy.dbunit.integration.junit.DbUnitRule
 
apply(Statement, Description) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitEmbeddedDatabaseRule
 
apply(T) - Method in interface com.github.mjeanroy.dbunit.commons.collections.Function
Apply function.
apply(T) - Method in interface com.github.mjeanroy.dbunit.commons.collections.Mapper
Produce output value from input value.
apply(T) - Method in interface com.github.mjeanroy.dbunit.commons.collections.Predicate
 
applyConfiguration(DatabaseConfig) - Method in interface com.github.mjeanroy.dbunit.core.configuration.DbUnitConfigInterceptor
Apply customization on the database configuration instance.

B

before() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRule
 
beforeTest(Method) - Method in class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
Load data set before test execution: Get new SQL connection. Load DataSet and execute setup operation. Close SQL connection.
beforeTestMethod(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
 
build() - Method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
Create the final string.
build() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Build data set.
build() - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Create instance of JsonDataSet.
build() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements.Builder
Create replacements objects.
build() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
Build new instance of SqlScriptParserConfiguration.
builder() - Static method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
Get a new builder instance.
builder() - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
Get new builder instance.

C

Cache<K,V> - Interface in com.github.mjeanroy.dbunit.cache
Cache of values identified by a key.
CacheFactory - Class in com.github.mjeanroy.dbunit.cache
Factory for Cache instances.
CacheLoader<K,V> - Interface in com.github.mjeanroy.dbunit.cache
Cache loader: the role of a loader is to compute the value to store in a cache.
checkArgument(boolean, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
Check argument condition and throw IllegalArgumentException if condition is false.
ClassInstantiationException - Exception in com.github.mjeanroy.dbunit.exception
Exception thrown when a class cannot be instantiated because of: Missing empty public constructor. The empty constructor is not public. Etc.
CLASSPATH - com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Load file from classpath.
ClassUtils - Class in com.github.mjeanroy.dbunit.commons.reflection
Static Class Utilities.
CLEAN_INSERT - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
clear() - Method in interface com.github.mjeanroy.dbunit.cache.Cache
Clear cache.
closeQuietly(Closeable) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Close Closeable instance.
closeQuietly(Connection) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Close Connection instance.
closeQuietly(JarFile) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Close JarFile instance.
closeSafely(Closeable) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Close Closeable instance, do nothing if closeable is null.
closeSafely(JarFile) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Close JarFile instance, do nothing if jarFile is null.
Collections - Class in com.github.mjeanroy.dbunit.commons.collections
Static Collection Utilities.
com.github.mjeanroy.dbunit.cache - package com.github.mjeanroy.dbunit.cache
 
com.github.mjeanroy.dbunit.commons.collections - package com.github.mjeanroy.dbunit.commons.collections
 
com.github.mjeanroy.dbunit.commons.io - package com.github.mjeanroy.dbunit.commons.io
 
com.github.mjeanroy.dbunit.commons.lang - package com.github.mjeanroy.dbunit.commons.lang
 
com.github.mjeanroy.dbunit.commons.reflection - package com.github.mjeanroy.dbunit.commons.reflection
 
com.github.mjeanroy.dbunit.core.annotations - package com.github.mjeanroy.dbunit.core.annotations
 
com.github.mjeanroy.dbunit.core.configuration - package com.github.mjeanroy.dbunit.core.configuration
 
com.github.mjeanroy.dbunit.core.dataset - package com.github.mjeanroy.dbunit.core.dataset
 
com.github.mjeanroy.dbunit.core.jdbc - package com.github.mjeanroy.dbunit.core.jdbc
 
com.github.mjeanroy.dbunit.core.operation - package com.github.mjeanroy.dbunit.core.operation
 
com.github.mjeanroy.dbunit.core.replacement - package com.github.mjeanroy.dbunit.core.replacement
 
com.github.mjeanroy.dbunit.core.resources - package com.github.mjeanroy.dbunit.core.resources
 
com.github.mjeanroy.dbunit.core.runner - package com.github.mjeanroy.dbunit.core.runner
 
com.github.mjeanroy.dbunit.core.sql - package com.github.mjeanroy.dbunit.core.sql
 
com.github.mjeanroy.dbunit.exception - package com.github.mjeanroy.dbunit.exception
 
com.github.mjeanroy.dbunit.integration.junit - package com.github.mjeanroy.dbunit.integration.junit
 
com.github.mjeanroy.dbunit.integration.liquibase - package com.github.mjeanroy.dbunit.integration.liquibase
 
com.github.mjeanroy.dbunit.integration.spring - package com.github.mjeanroy.dbunit.integration.spring
 
com.github.mjeanroy.dbunit.json - package com.github.mjeanroy.dbunit.json
 
com.github.mjeanroy.dbunit.loggers - package com.github.mjeanroy.dbunit.loggers
 
create(Class<?>) - Static method in class com.github.mjeanroy.dbunit.commons.lang.ToStringBuilder
Create the builder with given class (the simple name will be used to start the toString value).
createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
Create SQL connection (thrown exception will be catch and wrap into JdbcException.
createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
 
createConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
 
createDataSet(Resource) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
Create data set from given file path.
createDataSet(String) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
Create data set from file path.
createDataSet(String[]) - Static method in class com.github.mjeanroy.dbunit.core.dataset.DataSetFactory
Create data set from collection of file path.
createDefault() - Static method in class com.github.mjeanroy.dbunit.json.JsonParserFactory
Create default parser.
createIterator(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSet
 

D

DataSetFactory - Class in com.github.mjeanroy.dbunit.core.dataset
Factory to create instance of IDataSet.
DataSetLoaderException - Exception in com.github.mjeanroy.dbunit.exception
Exception thrown when DataSet cannot be loaded.
DataSetLoaderException(Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.DataSetLoaderException
Wrap original exception.
DbUnitConfig - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Annotation that can be used to customize DBUnit configuration property when the DbUnit connection will be created.
DbUnitConfigInterceptor - Interface in com.github.mjeanroy.dbunit.core.configuration
An interceptor that can be used to apply some custom DbUnit configuration on a DatabaseConfig instance.
DbUnitConfiguration - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Deprecated.
DbUnitConnection - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Set the DBUnit connection configuration.
DbUnitDataSet - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Data set annotation, used to specify which data set should be loaded for the next test.
DbUnitEmbeddedDatabaseRule - Class in com.github.mjeanroy.dbunit.integration.spring
This rule provide a fine integration between spring embedded database and dbunit: Ensure that embedded database is started and available before dbUnit load dataSet. Shutdown database after test.
DbUnitEmbeddedDatabaseRule() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.DbUnitEmbeddedDatabaseRule
Create rule with default database.
DbUnitEmbeddedDatabaseRule(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.DbUnitEmbeddedDatabaseRule
Create rule with given EmbeddedDatabase.
DbUnitException - Exception in com.github.mjeanroy.dbunit.exception
DbUnit exception.
DbUnitException(Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.DbUnitException
Wrap Exception.
DbUnitException(String) - Constructor for exception com.github.mjeanroy.dbunit.exception.DbUnitException
Create exception.
DbUnitInit - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
DbUnit initialization: allow user to run SQL script before loading DbUnit data set.
DbUnitJunitRunner - Class in com.github.mjeanroy.dbunit.integration.junit
Implementation of JUnit Runner to fill and clear database between each tests.
DbUnitJunitRunner(Class<?>) - Constructor for class com.github.mjeanroy.dbunit.integration.junit.DbUnitJunitRunner
Create runner.
DbUnitLiquibase - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
DbUnit liquibase integration: allow test to initialize database with liquibase and load DbUnit data set next.
DbUnitOperation - Enum in com.github.mjeanroy.dbunit.core.operation
Set of DatabaseOperation supported out of the box.
DbUnitReplacement - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
DbUnit initialization: allow user to run SQL script before loading DbUnit data set.
DbUnitRule - Class in com.github.mjeanroy.dbunit.integration.junit
JUnit Rule to setup DbUnit database for each tests.
DbUnitRule(JdbcConfiguration) - Constructor for class com.github.mjeanroy.dbunit.integration.junit.DbUnitRule
Create rule using JdbcConfiguration instance.
DbUnitRule(JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.integration.junit.DbUnitRule
Create rule using JdbcConnectionFactory to create SQL Connection.
DbUnitRunner - Class in com.github.mjeanroy.dbunit.core.runner
Generic class to run DbUnit before/after test method invocation.
DbUnitRunner(Class<?>, JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
Create runner.
DbUnitRunner(Class<?>, DataSource) - Constructor for class com.github.mjeanroy.dbunit.core.runner.DbUnitRunner
Create runner.
DbUnitSetup - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Database operation to execute before test is executed.
DbUnitTearDown - Annotation Type in com.github.mjeanroy.dbunit.core.annotations
Database operation to execute after test is executed.
DbUnitTestExecutionListener - Class in com.github.mjeanroy.dbunit.integration.spring
Spring test execution listener running DbUnit data set before and after test methods: Get DataSource bean from ApplicationContext. Load data set, retrieved using DbUnitDataSet annotation. Run setup operation before test method execution. Run tear down operation after test method method execution..
DbUnitTestExecutionListener() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
 
debug(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with DEBUG level.
debug(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with DEBUG level.
debug(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with DEBUG level.
debug(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with DEBUG level.
DEFAULT_CHARSET - Static variable in class com.github.mjeanroy.dbunit.commons.io.Files
The default Charset name.
DEFAULT_DELIMITER - Static variable in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
Default SQL delimiter (;).
defaultConfiguration() - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
Get new builder instance.
DELETE - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
DELETE_ALL - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
DirectoryDataSet - Class in com.github.mjeanroy.dbunit.core.dataset
Directory dataSet.
DirectoryDataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
Builder for DirectoryDataSet instances.
DirectoryDataSetBuilder() - Constructor for class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Create builder.
DirectoryDataSetBuilder(Resource) - Constructor for class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Create build with directory.
doParse(Reader) - Method in class com.github.mjeanroy.dbunit.json.AbstractJsonParser
Parse given Reader: Read JSON input. Create dataset model from it.
doParse(Reader) - Method in class com.github.mjeanroy.dbunit.json.GsonParser
 
doParse(Reader) - Method in class com.github.mjeanroy.dbunit.json.Jackson1Parser
 
doParse(Reader) - Method in class com.github.mjeanroy.dbunit.json.Jackson2Parser
 

E

EmbeddedDatabaseRule - Class in com.github.mjeanroy.dbunit.integration.spring
Rule used to start/stop embedded database.
EmbeddedDatabaseRule() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRule
Create rule with default builder.
EmbeddedDatabaseRule(EmbeddedDatabase) - Constructor for class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRule
Create rule.
ensureRootSeparator(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Ensure that a path starts with folder separator and returns updated path.
ensureTrailingSeparator(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Ensure that a path ends with folder separator and returns updated path.
equals(Object) - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
 
equals(Object) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
 
equals(Object, Object) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Objects
Check that two values are equals: If both are the same instances (or null, return true. If one is null, return false. Finally, if both are non null, return the result of {code o1.equals(o2)}.
error(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with ERROR level.
error(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with ERROR level.
error(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with ERROR level.
error(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with ERROR level.
error(String, Throwable) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log an exception (throwable) at the ERROR level with an accompanying message.
Exceptions - Class in com.github.mjeanroy.dbunit.commons.lang
Static Exception Utilities.
executeScript(Connection, Resource, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script file and execute queries one by one (if a query failed, next queries are not executed).
executeScript(Connection, InputStream, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script and execute queries one by one (if a query failed, next queries are not executed).
executeScript(Connection, String, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script file and execute queries one by one (if a query failed, next queries are not executed).
exists() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Check if this resource actually exists in physical form.
extractExtension(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Get file extension.
extractFilename(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Get the filename of a full path.
extractPaths(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Extract all parts of a given path.

F

FILE_SYSTEM - com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Load file from file system.
Files - Class in com.github.mjeanroy.dbunit.commons.io
Static Files Utilities.
filter(List<T>, Predicate<T>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
 
find(Iterable<T>, Predicate<T>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
Find first value matching predicate.
find(String) - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Find loader according to given file pattern.
findAnnotation(Class<?>, Method, Class<T>) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
Find expected annotation on: Method if annotation is defined. Class if annotation is defined.
findStaticFieldAnnotatedWith(Class<?>, Class<T>) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
Get all static fields annotated with given annotation.
findStaticMethodAnnotatedWith(Class<?>, Class<T>) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.Annotations
Get all static fields annotated with given annotation.
first(Collection<T>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
Get the first element of a collection.
firstNonNull(T, T) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Objects
Get first non null value: If o1 is not null, it is returned. Otherwise, return o2.
forEach(Iterable<T>, Function<T>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
Apply function to each element of a collection.
Function<T> - Interface in com.github.mjeanroy.dbunit.commons.collections
Function that can be applied to any input.

G

getConnection() - Method in class com.github.mjeanroy.dbunit.core.jdbc.AbstractJdbcConnectionFactory
 
getConnection() - Method in interface com.github.mjeanroy.dbunit.core.jdbc.JdbcConnectionFactory
Create new instance of Connection.
getConnection() - Method in class com.github.mjeanroy.dbunit.integration.junit.DbUnitRule
Get new SQL connection.
getDb() - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitEmbeddedDatabaseRule
Get embedded database.
getDb() - Method in class com.github.mjeanroy.dbunit.integration.spring.EmbeddedDatabaseRule
Gets currently created database instance.
getDelimiter() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
getEndBlockComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
getFilename() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Returns the filename of the resource.
getKlass() - Method in exception com.github.mjeanroy.dbunit.exception.ClassInstantiationException
Class that cannot be instantiated.
getLineComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
getLogger(Class<?>) - Static method in class com.github.mjeanroy.dbunit.loggers.Loggers
Create logger.
getOperation() - Method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
Get DBUnit DatabaseOperation to execute.
getPassword() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
getPath() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Get full path of resource.
getPath() - Method in exception com.github.mjeanroy.dbunit.exception.ResourceException
The resource path causing exception.
getReplacements() - Method in class com.github.mjeanroy.dbunit.core.replacement.Replacements
Get the list of all replacement objects.
getResource() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
getResource() - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSet
getStartBlockComment() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
getTable(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
getTableMetaData(String) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
getTableNames() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
getTables() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
getTestRules(Object) - Method in class com.github.mjeanroy.dbunit.integration.junit.DbUnitJunitRunner
 
getUrl() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
getUser() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
GsonParser - Class in com.github.mjeanroy.dbunit.json
Json Parser using Google Gson as internal implementation.
GsonParser(Gson) - Constructor for class com.github.mjeanroy.dbunit.json.GsonParser
Create parser using specific Gson mapper.

H

hashCode() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
 
hashCode() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
 
hashCode(Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Objects
Compute hashCode value from all parameters.

I

info(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with INFO level.
info(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with INFO level.
info(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with INFO level.
info(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with INFO level.
INSERT - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
instantiate(Class<T>) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
Create new instance of given class using default empty constructor.
instantiationException(Class<?>, Exception) - Static method in exception com.github.mjeanroy.dbunit.exception.ClassInstantiationException
Create exception with given original cause.
invalidJarException(String) - Static method in exception com.github.mjeanroy.dbunit.exception.ResourceNotValidException
 
Io - Class in com.github.mjeanroy.dbunit.commons.io
Static IO Utilities.
isBlank(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
Check if string is blank (i.e not null, empty or contains only whitespace characters).
isCaseSensitiveTableNames() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
isDirectory() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Check if this resource is a directory.
isEmpty(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
Check if string is empty (i.e null or an empty string).
isNotEmpty(String) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Strings
Check if string is not empty (i.e not null and contains characters).
isPresent(String) - Static method in class com.github.mjeanroy.dbunit.commons.reflection.ClassUtils
Check if a given class is available on classpath.
isRootPath(String) - Static method in class com.github.mjeanroy.dbunit.commons.io.Files
Check if a path is exactly the root path.
iterator() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 

J

Jackson1Parser - Class in com.github.mjeanroy.dbunit.json
Json Parser using Jackson (V2) ObjectMapper as internal implementation.
Jackson1Parser(ObjectMapper) - Constructor for class com.github.mjeanroy.dbunit.json.Jackson1Parser
Create parser with Jackson2 mapper.
Jackson2Parser - Class in com.github.mjeanroy.dbunit.json
Json Parser using Jackson (V2) ObjectMapper as internal implementation.
Jackson2Parser(ObjectMapper) - Constructor for class com.github.mjeanroy.dbunit.json.Jackson2Parser
Create parser with Jackson2 mapper.
JdbcConfiguration - Class in com.github.mjeanroy.dbunit.core.jdbc
JDBC Configuration, defined by: URL Connection. User. Password.
JdbcConnectionFactory - Interface in com.github.mjeanroy.dbunit.core.jdbc
Factory that should create instance of Connection.
JdbcDataSourceConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
Implementation of JdbcConnectionFactory to produce instance of Connection from given DataSource.
JdbcDataSourceConnectionFactory(DataSource) - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.JdbcDataSourceConnectionFactory
Create new factory.
JdbcDefaultConnectionFactory - Class in com.github.mjeanroy.dbunit.core.jdbc
Implementation of JdbcConnectionFactory to produce instance of Connection from JdbcConfiguration.
JdbcDefaultConnectionFactory(JdbcConfiguration) - Constructor for class com.github.mjeanroy.dbunit.core.jdbc.JdbcDefaultConnectionFactory
Create new factory.
JdbcException - Exception in com.github.mjeanroy.dbunit.exception
Wrap external SQL exception.
JdbcException(Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.JdbcException
Wrap exception.
JdbcException(String) - Constructor for exception com.github.mjeanroy.dbunit.exception.JdbcException
JdbcException(String, ClassNotFoundException) - Constructor for exception com.github.mjeanroy.dbunit.exception.JdbcException
JsonDataSet - Class in com.github.mjeanroy.dbunit.core.dataset
Implementation of IDataSet with JSON file as input.
JsonDataSetBuilder - Class in com.github.mjeanroy.dbunit.core.dataset
Builder for JsonDataSet instances.
JsonDataSetBuilder() - Constructor for class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Create builder.
JsonDataSetBuilder(Resource) - Constructor for class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Create builder with JSON resource.
JsonException - Exception in com.github.mjeanroy.dbunit.exception
Wrap external JSON parsing exception.
JsonException(Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.JsonException
Wrap Exception.
JsonParser - Interface in com.github.mjeanroy.dbunit.json
Parse JSON file and return DBUnit dataSet as Map.
JsonParserFactory - Class in com.github.mjeanroy.dbunit.json
The goal of this factory is to create default instances of JsonParser.

K

keys(Collection<Map<T, U>>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
Get a set of all keys found in a collection of Map.

L

launderThrowable(Throwable) - Static method in class com.github.mjeanroy.dbunit.commons.lang.Exceptions
Coerce an unchecked Throwable to a RuntimeException If the Throwable is an Error, throw it; if it is a RuntimeException return it, otherwise throw IllegalStateException.
LiquibaseUpdater - Class in com.github.mjeanroy.dbunit.integration.liquibase
Run liquibase change sets against SQL connection.
LiquibaseUpdater(String, JdbcConnectionFactory) - Constructor for class com.github.mjeanroy.dbunit.integration.liquibase.LiquibaseUpdater
Create updater.
listResources() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Get all sub-resources: if the resource is not a directory, then this method should returns an empty list.
load(String) - Method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Load given file path.
load(K) - Method in interface com.github.mjeanroy.dbunit.cache.Cache
Get entry in cache.
load(K) - Method in interface com.github.mjeanroy.dbunit.cache.CacheLoader
Compute value to store in a cache.
Logger - Interface in com.github.mjeanroy.dbunit.loggers
Logger contract.
Loggers - Class in com.github.mjeanroy.dbunit.loggers
Logger factory.

M

map(Set<T>, Mapper<T, U>) - Static method in class com.github.mjeanroy.dbunit.commons.collections.Collections
Map set of input to a set of outputs.
Mapper<T,U> - Interface in com.github.mjeanroy.dbunit.commons.collections
Mapper function used to produce an output value from an input value.
missingDefaultConstructor(Class<?>) - Static method in exception com.github.mjeanroy.dbunit.exception.ClassInstantiationException
Create exception with a message saying that the empty public constructor is missing on given class.

N

newCache(CacheLoader<K, V>) - Static method in class com.github.mjeanroy.dbunit.cache.CacheFactory
Create new cache.
newJdbcConfiguration(String, String, String) - Static method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
Create JDBC Configuration object.
NONE - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
notBlank(char, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
Ensure that given value is not blank.
notBlank(String, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
Ensure that given value is not null, empty or blank.
notNull(T, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
Ensure that given value is not null.

O

Objects - Class in com.github.mjeanroy.dbunit.commons.lang
Static Objects Utilities.
openStream() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Open an InputStream.

P

parse(Resource) - Method in class com.github.mjeanroy.dbunit.json.AbstractJsonParser
 
parse(Resource) - Method in interface com.github.mjeanroy.dbunit.json.JsonParser
Read JSON File and return representation.
parseScript(Resource, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script file and return list of SQL query.
parseScript(InputStream, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script and return list of SQL query.
parseScript(String, SqlScriptParserConfiguration) - Static method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParser
Parse SQL script and return list of SQL query.
PreConditions - Class in com.github.mjeanroy.dbunit.commons.lang
Static PreConditions Utilities.
Predicate<T> - Interface in com.github.mjeanroy.dbunit.commons.collections
Predicate: should return true if condition is ok, false otherwise.
prepareTestInstance(TestContext) - Method in class com.github.mjeanroy.dbunit.integration.spring.DbUnitTestExecutionListener
 

R

ReaderVisitor - Interface in com.github.mjeanroy.dbunit.commons.io
Visitor executed when a stream is read line by line.
readLines(InputStream, ReaderVisitor) - Static method in class com.github.mjeanroy.dbunit.commons.io.Io
Read reader instance line by line and execute visitor for each line.
REFRESH - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
Replacements - Class in com.github.mjeanroy.dbunit.core.replacement
Replacement Objects.
Replacements.Builder - Class in com.github.mjeanroy.dbunit.core.replacement
Builder used to create new replacements objects.
Resource - Interface in com.github.mjeanroy.dbunit.core.resources
Resource item that abstracts from the actual type of underlying resource, such as: A File. A classpath resource. An URL.
ResourceException - Exception in com.github.mjeanroy.dbunit.exception
Error thrown when an error occurred when dealing with resources.
ResourceException(String, Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.ResourceException
Create exception with original cause.
ResourceLoader - Enum in com.github.mjeanroy.dbunit.core.resources
Implementations of strategies to load resources.
ResourceNotFoundException - Exception in com.github.mjeanroy.dbunit.exception
Error thrown when resource is not found.
ResourceNotFoundException(String) - Constructor for exception com.github.mjeanroy.dbunit.exception.ResourceNotFoundException
Create exception with path.
ResourceNotValidException - Exception in com.github.mjeanroy.dbunit.exception
Error thrown when resource is not a valid resource.
reverseIterator() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 

S

setCaseSensitiveTableNames(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Override case insensitive parameter.
setCaseSensitiveTableNames(boolean) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Override default case sensitivity flag.
setComparator(Comparator<Resource>) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Override default comparator.
setDelimiter(char) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
Override default SQL delimiter.
setDirectory(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSetBuilder
Override directory path.
setEndBlockComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
Override default pattern to detect end of an SQL block comment.
setJsonFile(Resource) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Initialize JSON resource.
setLineComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
Override default pattern to detect start of an SQL line comment.
setParser(JsonParser) - Method in class com.github.mjeanroy.dbunit.core.dataset.JsonDataSetBuilder
Override default JSON parser.
setStartBlockComment(String) - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration.Builder
Override default pattern to detect start of an SQL block comment.
size() - Method in interface com.github.mjeanroy.dbunit.cache.Cache
Get the size of the cache.
SqlParserException - Exception in com.github.mjeanroy.dbunit.exception
Exception thrown if an error occurred during SQL parsing.
SqlParserException(Exception) - Constructor for exception com.github.mjeanroy.dbunit.exception.SqlParserException
Create exception with original cause.
SqlParserException(String) - Constructor for exception com.github.mjeanroy.dbunit.exception.SqlParserException
Create exception with custom message.
SqlScriptParser - Class in com.github.mjeanroy.dbunit.core.sql
Run SQL script against SQL Connection.
SqlScriptParserConfiguration - Class in com.github.mjeanroy.dbunit.core.sql
Configuration for SQL script parser.
SqlScriptParserConfiguration.Builder - Class in com.github.mjeanroy.dbunit.core.sql
startsWith(String, String, String, Object...) - Static method in class com.github.mjeanroy.dbunit.commons.lang.PreConditions
Ensure that given value is not null, empty or blank and starts with given prefix.
Strings - Class in com.github.mjeanroy.dbunit.commons.lang
Static Strings Utilities.

T

toFile() - Method in interface com.github.mjeanroy.dbunit.core.resources.Resource
Return a File handle for this resource.
toString() - Method in class com.github.mjeanroy.dbunit.core.dataset.DirectoryDataSet
 
toString() - Method in class com.github.mjeanroy.dbunit.core.jdbc.JdbcConfiguration
 
toString() - Method in class com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
 
ToStringBuilder - Class in com.github.mjeanroy.dbunit.commons.lang
Utility class to implement easily toString methods.
trace(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with TRACE level.
trace(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with TRACE level.
trace(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with TRACE level.
trace(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with TRACE level.
TransactionalDbUnitTestExecutionListener - Class in com.github.mjeanroy.dbunit.integration.spring
Provide integration between spring TransactionalTestExecutionListener and custom DbUnitTestExecutionListener: TransactionalTestExecutionListener will be executed first. DbUnitTestExecutionListener will be executed last.
TransactionalDbUnitTestExecutionListener() - Constructor for class com.github.mjeanroy.dbunit.integration.spring.TransactionalDbUnitTestExecutionListener
Create listeners with defaults TestExecutionListener list.
TRUNCATE_TABLE - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 

U

update() - Method in class com.github.mjeanroy.dbunit.integration.liquibase.LiquibaseUpdater
Run liquibase update with dbunit and test contexts.
UPDATE - com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
 
URL - com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Load file from HTTP url.

V

valueOf(String) - Static method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mjeanroy.dbunit.core.operation.DbUnitOperation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mjeanroy.dbunit.core.resources.ResourceLoader
Returns an array containing the constants of this enum type, in the order they are declared.
visit(String) - Method in interface com.github.mjeanroy.dbunit.commons.io.ReaderVisitor
Handle new line.

W

warn(String) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with WARN level.
warn(String, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with WARN level.
warn(String, Object...) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with WARN level.
warn(String, Object, Object) - Method in interface com.github.mjeanroy.dbunit.loggers.Logger
Log message with WARN level.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.