Index

A B C D E F G I L M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDbTest - Class in com.reallifedeveloper.tools.test.database.dbunit
Base class for DBUnit tests.
AbstractDbTest(String, String) - Constructor for class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Creates a new test instance, using the given schema and reading the DBUnit XML file found in the given classpath resource.
AbstractDbTest(String, String, String...) - Constructor for class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Creates a new test instance, using the given schema and reading the DBUnit XML files and DTD found in the given classpath resources.
AbstractInMemoryCrudRepository<T,ID extends Comparable<ID>> - Class in com.reallifedeveloper.tools.test.database.inmemory
An abstract helper class that implements the CrudRepository interface using an in-memory map instead of a database.
AbstractInMemoryCrudRepository() - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Creates a new InMemoryCrudRepository with no primary key generator.
AbstractInMemoryCrudRepository(PrimaryKeyGenerator<ID>) - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Creates a new InMemoryCrudRepository with the provided primary key generator.
addGeometry(Geometry) - Method in class com.reallifedeveloper.tools.gis.GeometryDrawingPanel
Adds a Geometry object to be drawn.

B

BaseFitNesseFixture - Class in com.reallifedeveloper.tools.test.fitnesse
Base class for all FitNesse fixtures.
BaseFitNesseFixture(String) - Constructor for class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Creates a new BaseFitNesseFixture object reading the Spring application context from the given classpath resource, which should be a Spring XML configuration file.
BaseFitNesseFixture(ApplicationContext) - Constructor for class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Creates a new BaseFitNesseFixture object using the given Spring application context.

C

clean() - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Cleans the database from test data after each test case.
clearGeometries() - Method in class com.reallifedeveloper.tools.gis.GeometryDrawingPanel
Removes all Geometry objects so that none are drawn.
com.reallifedeveloper.tools - package com.reallifedeveloper.tools
General purpose tools.
com.reallifedeveloper.tools.gis - package com.reallifedeveloper.tools.gis
Tools to work with geographical information.
com.reallifedeveloper.tools.rabbitmq - package com.reallifedeveloper.tools.rabbitmq
Tools to work with RabbitMQ.
com.reallifedeveloper.tools.test - package com.reallifedeveloper.tools.test
Generic helper classes for testing.
com.reallifedeveloper.tools.test.database.dbunit - package com.reallifedeveloper.tools.test.database.dbunit
Support classes for writing DbUnit tests that work with a real database.
com.reallifedeveloper.tools.test.database.inmemory - package com.reallifedeveloper.tools.test.database.inmemory
Support classes for creating in-memory repositories.
com.reallifedeveloper.tools.test.fitnesse - package com.reallifedeveloper.tools.test.fitnesse
Support classes for writing FitNesse tests.
count() - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
count(Example<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
createFromSpringConfigurationClass(Class<?>) - Static method in class com.reallifedeveloper.tools.test.database.dbunit.DbUnitDtdGenerator
Factory method to create a new DbUnitDtdGenerator instance using an application context constructed from a Spring configuration class, i.e., a class annotated with org.springframework.context.annotation.Configuration.
createFromSpringXmlConfiguration(String) - Static method in class com.reallifedeveloper.tools.test.database.dbunit.DbUnitDtdGenerator
Factory method to create a new DbUnitDtdGenerator instance using an application context constructed from a Spring XML configuration file loaded from the classpath.
createInstance(String, String, String, String) - Static method in class com.reallifedeveloper.tools.rabbitmq.MoveMessages
Factory method that creates a new MoveMessages object that connects to RabbitMQ on the given host and vhost, using the given username and password.

D

DATE_FORMAT - Static variable in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
The date format used by BaseFitNesseFixture.parseDate(String) ("yyyy-MM-dd").
DATE_FORMAT - Static variable in class com.reallifedeveloper.tools.test.TestUtil
The date format used by TestUtil.parseDate(String) ("yyyy-MM-dd").
DATE_TIME_FORMAT - Static variable in class com.reallifedeveloper.tools.test.TestUtil
The date+time format used by TestUtil.parseDateTime(String) ("yyyy-MM-dd HH:mm:ss").
DbTestHelper - Class in com.reallifedeveloper.tools.test.database.dbunit
A helper class used by AbstractDbTest.
DbTestHelper(DataSource, IDataSet, String, Optional<IDataTypeFactory>) - Constructor for class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Creates a new DbTestHelper, with test data provided by the given dataSet and using the given dataSource to insert it.
DbUnitDtdGenerator - Class in com.reallifedeveloper.tools.test.database.dbunit
Generates a DTD for DbUnit XML files used to populate the test database.
DbUnitDtdGenerator(ApplicationContext) - Constructor for class com.reallifedeveloper.tools.test.database.dbunit.DbUnitDtdGenerator
Creates a new DbUnitDtdGenerator using the given Spring application context.
DbUnitFlatXmlReader - Class in com.reallifedeveloper.tools.test.database.dbunit
A class to read a DBUnit flat XML dataset file and populate a JpaRepository using the information in the file.
DbUnitFlatXmlReader() - Constructor for class com.reallifedeveloper.tools.test.database.dbunit.DbUnitFlatXmlReader
Creates a new DbUnitFlatXmlReader.
DEFAULT_CHARACTER_ENCODING - Static variable in class com.reallifedeveloper.tools.gis.ShapefileProcessor
The character encoding that is used by default, "UTF-8".
DEFAULT_SETUP_OPERATION - Static variable in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
The default operation to perform before executing each test.
DEFAULT_TEARDOWN_OPERATION - Static variable in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
The default operation to perform after executing each test.
delete(T) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
deleteAll() - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
deleteAll(Iterable<? extends T>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
deleteAllById(Iterable<? extends ID>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
deleteAllByIdInBatch(Iterable<ID>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
deleteAllInBatch() - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
deleteAllInBatch(Iterable<T>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
deleteById(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
dump() - Method in class com.reallifedeveloper.tools.FullThreadDump
Creates a thread dump with information about all the threads running in the Java process being monitored by the JMX server connected to.

E

exists(Example<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
existsById(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository

F

finalize() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Make finalize method final to avoid "Finalizer attacks" and corresponding SpotBugs warning (CT_CONSTRUCTOR_THROW).
finalize() - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Make finalize method final to avoid "Finalizer attacks" and corresponding SpotBugs warning (CT_CONSTRUCTOR_THROW).
finalize() - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Make finalize method final to avoid "Finalizer attacks" and corresponding SpotBugs warning (CT_CONSTRUCTOR_THROW).
findAll() - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAll(Example<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAll(Example<S>, Pageable) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAll(Example<S>, Sort) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAll(Pageable) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAll(Sort) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findAllById(Iterable<ID>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
 
findByField(String, F) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Finds entities with a field matching a value.
findById(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
findByUniqueField(String, F) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Finds a unique entity with a field matching a value.
findFreePort() - Static method in class com.reallifedeveloper.tools.test.TestUtil
Gives a port number on the local machine that no server process is listening to.
findOne(Example<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
flush() - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
FullThreadDump - Class in com.reallifedeveloper.tools
This FullThreadDump class demonstrates the capability to get a full thread dump and also detect deadlock remotely.
FullThreadDump(String, int) - Constructor for class com.reallifedeveloper.tools.FullThreadDump
Creates a new FullThreadDump object that is connected to a JMX server on the given host and port.
FullThreadDump(JMXServiceURL) - Constructor for class com.reallifedeveloper.tools.FullThreadDump
Creates a new FullThreadDump object that is connected to a JMX server at the given JMXServiceURL.

G

generateDtd() - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbUnitDtdGenerator
Gives the DbUnit DTD as a string.
GeometryDrawingPanel - Class in com.reallifedeveloper.tools.gis
A JPanel that draws com.vividsolutions.jts.geom.Geometry objects.
GeometryDrawingPanel() - Constructor for class com.reallifedeveloper.tools.gis.GeometryDrawingPanel
 
getApplicationContext() - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Gives the Spring ApplicationContext associated with this thread.
getBean(Class<T>) - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Looks up a Spring bean of a given class in the ApplicationContext.
getById(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
getComment() - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
A comment that is useful as documentation in most FitNesse tests.
getDataSet() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the data set used by DbUnit when testing.
getDataSetDtdResourceName() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the name of the resource containing the DTD for test data files.
getDataSetResourceNames() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the names of the resources containing test data.
getDataSource() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Override this to point to your datasource.
getDataTypeFactory() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the DbUnit IDataTypeFactory that matches the database used for testing, or null if the database type is left unspecified.
getFieldValue(Object, String) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Gives the value of an object's field, which may be private.
getId(T) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Gives the value of the ID field or method of the given entity.
getIdClass(Object) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Override this in concrete subclass to give the ID class representing a composite primary key for an entity, if any.
getIdClass(Object) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
 
getOne(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
getReferenceById(ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
 
getSchemaName() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the name of the database schema.
getSetUpOperation() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the operation to perform before executing each test.
getTearDownOperation() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Gives the operation to perform after executing each test.

I

init() - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Initializes the test data before each test case.
injectField(Object, String, Object) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Injects a value into an object's field, which may be private.
InMemoryJpaRepository<T,ID extends Comparable<ID>> - Class in com.reallifedeveloper.tools.test.database.inmemory
An implementation of the Spring Data JPA JpaRepository interface that holds entities in a map.
InMemoryJpaRepository() - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
Creates a new InMemoryJpaRepository with no primary key generator.
InMemoryJpaRepository(PrimaryKeyGenerator<ID>) - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
Creates a new InMemoryJpaRepository with the provided primary key generator.
IntegerPrimaryKeyGenerator - Class in com.reallifedeveloper.tools.test.database.inmemory
A primary key generator that generates a sequence of integers.
IntegerPrimaryKeyGenerator() - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.IntegerPrimaryKeyGenerator
 
isIdField(Field) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Override this in a concrete subclass to decide if a given field is an ID field of an entity.
isIdField(Field) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
 
isIdMethod(Method) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Override this in a concrete subclass to decide if a given method is a method giving the ID of an entity.
isIdMethod(Method) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
 

L

logBytesFromUrl(URL) - Static method in class com.reallifedeveloper.tools.ReadBytes
Reads bytes from the given URL and logs them at info level, both as hexadecimal byte values and as an ASCII string.
logger() - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Gives an org.slf4j.Logger that can be used by the concrete fixture classes for logging.
LongPrimaryKeyGenerator - Class in com.reallifedeveloper.tools.test.database.inmemory
A primary key generator that generates a sequence of long integers.
LongPrimaryKeyGenerator() - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.LongPrimaryKeyGenerator
 

M

main(String...) - Static method in class com.reallifedeveloper.tools.FullThreadDump
Connects to a JMX server at the given host and port number and creates a thread dump that is logged on INFO level.
main(String...) - Static method in class com.reallifedeveloper.tools.ReadBytes
Main method to read bytes from a URL and log the result.
main(String...) - Static method in class com.reallifedeveloper.tools.test.database.dbunit.DbUnitDtdGenerator
Main method that prints the generated DTD to System.out.
moveAllMessagesToExchange(String, String) - Method in class com.reallifedeveloper.tools.rabbitmq.MoveMessages
Moves all messages from a queue to an exchange.
MoveMessages - Class in com.reallifedeveloper.tools.rabbitmq
Moves messages from a queue, e.g., a DLQ, to an exchange.
MoveMessages(ConnectionFactory) - Constructor for class com.reallifedeveloper.tools.rabbitmq.MoveMessages
Creates a new MoveMessages instance that uses the given ConnectionFactory to connect to RabbitMQ.

N

nextPrimaryKey(ID) - Method in interface com.reallifedeveloper.tools.test.database.inmemory.PrimaryKeyGenerator
Gives the next primary key given the previous maximum primary key value.
nextPrimaryKey(Integer) - Method in class com.reallifedeveloper.tools.test.database.inmemory.IntegerPrimaryKeyGenerator
Gives the next primary key given the previous maximum primary key value.
nextPrimaryKey(Long) - Method in class com.reallifedeveloper.tools.test.database.inmemory.LongPrimaryKeyGenerator
Gives the next primary key given the previous maximum primary key value.
nextPrimaryKey(String) - Method in class com.reallifedeveloper.tools.test.database.inmemory.UUIDPrimaryKeyGenerator
 

P

paintComponent(Graphics) - Method in class com.reallifedeveloper.tools.gis.GeometryDrawingPanel
 
parseDate(String) - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Parses a date string on the form "yyyy-MM-dd" and returns the corresponding java.util.Date object.
parseDate(String) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Parses a date string on the form "yyyy-MM-dd" and returns the corresponding java.util.Date object.
parseDateTime(String) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Parses a date and time string on the form "yyyy-MM-dd HH:mm:ss" and returns the corresonding java.util.Date object.
PrimaryKeyGenerator<ID> - Interface in com.reallifedeveloper.tools.test.database.inmemory
A generator of primary keys of a certain type.
processFeature(Feature) - Method in interface com.reallifedeveloper.tools.gis.ShapefileProcessor.FeatureProcessor
Processes the given org.opengis.feature.Feature in some way.
processShapefile(URL) - Method in class com.reallifedeveloper.tools.gis.ShapefileProcessor
Processes a shapefile read from the given URL with the given ShapefileProcessor.FeatureProcessor that determines what to do with each individual org.opengis.feature.Feature in the file.

R

read(String, JpaRepository<T, ID>, Class<T>, Class<ID>) - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbUnitFlatXmlReader
Reads a DBUnit flat XML file from the named resource, populating the given repository with entities of the given type.
ReadBytes - Class in com.reallifedeveloper.tools
Utility class to read a file and display the content as bytes.
readDataSetFromClasspath(String, String...) - Static method in class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Reads XML data set files from the classpath resources pointed to by dataSetResourceNames, optionally validating using the DTD pointed to by dataSetDtdResourceName property.
readResource(String) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Reads a string from a classpath resource, which is assumed to be UTF-8 encoded text.
resetApplicationContext() - Static method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Sets the Spring ApplicationContext to null.

S

save(S) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
saveAll(Iterable<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
saveAllAndFlush(Iterable<S>) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
saveAndFlush(S) - Method in class com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepository
setCharacterEncoding(String) - Method in class com.reallifedeveloper.tools.gis.ShapefileProcessor
Sets the character encoding to use in the shapefile that is created.
setComment(String) - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
Specifies a comment for the current test case.
setId(T, ID) - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
Sets the value of the ID field, or calls the ID setter method, for the given entity.
setSetUpOperation(DatabaseOperation) - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Change the operation performed before executing each test.
setTearDownOperation(DatabaseOperation) - Method in class com.reallifedeveloper.tools.test.database.dbunit.DbTestHelper
Change the operation performed after executing each test.
setUpDatabase() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Called before each test case to insert test data into the database.
ShapefileProcessor - Class in com.reallifedeveloper.tools.gis
Reads a shapefile and processes it in some way.
ShapefileProcessor(ShapefileProcessor.FeatureProcessor) - Constructor for class com.reallifedeveloper.tools.gis.ShapefileProcessor
Creates a new ShapefileProcessor that processes features in a shapefile using the given ShapefileProcessor.FeatureProcessor.
ShapefileProcessor.FeatureProcessor - Interface in com.reallifedeveloper.tools.gis
Defines some kind of processing av an org.opengis.feature.Feature.
sort(List<T>, Sort) - Static method in class com.reallifedeveloper.tools.test.database.inmemory.SortUtil
Sorts the given list according to the sort definition provided.
SortUtil - Class in com.reallifedeveloper.tools.test.database.inmemory
A helper class to assist with sorting lists in accordance with org.springframework.data.domain.Sort instances.

T

tearDownDatabase() - Method in class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
Called after each test case to clean the database from test data.
TestUtil - Class in com.reallifedeveloper.tools.test
Miscellaneous utility methods that are useful when testing.
toString() - Method in class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepository
 
toString(Object) - Method in class com.reallifedeveloper.tools.test.fitnesse.BaseFitNesseFixture
A null-safe toString method.

U

UUIDPrimaryKeyGenerator - Class in com.reallifedeveloper.tools.test.database.inmemory
A primary key generator that generates random UUIDs.
UUIDPrimaryKeyGenerator() - Constructor for class com.reallifedeveloper.tools.test.database.inmemory.UUIDPrimaryKeyGenerator
 

W

writeToFile(String, String, Charset) - Static method in class com.reallifedeveloper.tools.test.TestUtil
Writes a string to a file using the given character encoding.
A B C D E F G I L M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form