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

A

afterAll(ExtensionContext) - Method in class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
 
ALL - org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
 
ALL_ERRORS - org.kiwiproject.dropwizard.error.config.CleanupConfig.CleanupStrategy
 
ApplicationError - Class in org.kiwiproject.dropwizard.error.model
Defines an application error that you want to save in a data store.
ApplicationError.ApplicationErrorBuilder - Class in org.kiwiproject.dropwizard.error.model
 
ApplicationError.Resolved - Enum in org.kiwiproject.dropwizard.error.model
Indicates whether an ApplicationError is resolved.
ApplicationErrorDao - Interface in org.kiwiproject.dropwizard.error.dao
Defines the contract for finding, creating, updating, and resolving ApplicationErrors.
ApplicationErrorExtension - Class in org.kiwiproject.dropwizard.error.test.junit.jupiter
A JUnit Jupiter extension that ensures the PersistentHostInformation is set on ApplicationError before all tests, and cleared after all tests have completed.
ApplicationErrorExtension() - Constructor for class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
 
ApplicationErrorExtension.HostInfo - Annotation Type in org.kiwiproject.dropwizard.error.test.junit.jupiter
Add this annotation to a PersistentHostInformation parameter in a method annotated with BeforeAll, BeforeEach, or Test methods in order to get the persistent host information.
ApplicationErrorJdbc - Class in org.kiwiproject.dropwizard.error.dao
Helper utilities when using JDBC for application error persistence.
ApplicationErrorJdbc.ApplicationErrorJdbcException - Exception in org.kiwiproject.dropwizard.error.dao
Runtime exception wrapper around JDBC-related exceptions, e.g.
ApplicationErrorMatchers - Class in org.kiwiproject.dropwizard.error.test.mockito
A collection of Mockito matchers for matching arguments of type ApplicationError.
ApplicationErrorPage - Class in org.kiwiproject.dropwizard.error.model
Represents a "page" of ApplicationError results, e.g.
ApplicationErrorPage.ApplicationErrorPageBuilder - Class in org.kiwiproject.dropwizard.error.model
 
ApplicationErrorResource - Class in org.kiwiproject.dropwizard.error.resource
JAX-RS resource class for retrieving application errors, as well as marking them resolved.
ApplicationErrorResource(ApplicationErrorDao) - Constructor for class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
 
ApplicationErrors - Class in org.kiwiproject.dropwizard.error
Utility providing static convenience methods to easily create and log application errors.
ApplicationErrorStatus - Enum in org.kiwiproject.dropwizard.error.dao
Defines status of errors to be retrieved in certain DAO methods, i.e.
ApplicationErrorThrower - Class in org.kiwiproject.dropwizard.error
Wrapper around ApplicationErrors that uses the required constructor/builder properties ApplicationErrorDao and Logger to log and throw (save) application errors.
ApplicationErrorThrower(ApplicationErrorDao, Logger) - Constructor for class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
 
ApplicationErrorThrower.ApplicationErrorThrowerBuilder - Class in org.kiwiproject.dropwizard.error
 
ApplicationErrorVerifications - Class in org.kiwiproject.dropwizard.error.test.mockito
Utilities for performing Mockito verifications on calls on mock ApplicationErrorDao instances.
applicationPort(int) - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails.ServiceDetailsBuilder
 

B

beforeAll(ExtensionContext) - Method in class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
 
build() - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower.ApplicationErrorThrowerBuilder
 
build() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
build() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 
build() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails.ServiceDetailsBuilder
 
builder() - Static method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
 
builder() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
builder() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
builder() - Static method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
buildInMemoryH2() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext backed by an in-memory H2 database that uses JDBI version 3.
buildWithConcurrentMapDao() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext with an in-memory ApplicationErrorDao that uses a ConcurrentMap for storage.
buildWithDao(ApplicationErrorDao) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext that uses a specific ApplicationErrorDao.
buildWithDataStoreFactory(DataSourceFactory) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext using given the dataSourceFactory that uses JDBI version 3.
buildWithJdbi3(Jdbi) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext that uses JDBI version 3.
buildWithNoOpDao() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Build an ErrorContext with a no-op ApplicationErrorDao.

C

canEqual(Object) - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
 
check() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
Performs the health check.
checkPagingArgumentsAndCalculateZeroBasedOffset(int, int) - Static method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Check that the given page number (starting at one) and page size are valid.
CleanupApplicationErrorsJob - Class in org.kiwiproject.dropwizard.error.job
Job that can be configured to run on a regular interval that will delete expired application errors.
CleanupApplicationErrorsJob(CleanupConfig, ApplicationErrorDao) - Constructor for class org.kiwiproject.dropwizard.error.job.CleanupApplicationErrorsJob
 
cleanupConfig(CleanupConfig) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the CleanupApplicationErrorsJob clean up job.
CleanupConfig - Class in org.kiwiproject.dropwizard.error.config
Configuration class used to set up the CleanupApplicationErrorsJob
CleanupConfig() - Constructor for class org.kiwiproject.dropwizard.error.config.CleanupConfig
 
CleanupConfig.CleanupStrategy - Enum in org.kiwiproject.dropwizard.error.config
Strategies for what should be cleaned up.
clearPersistentHostInformation() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Clears out (by nullifying) the persistent host name, IP address, and port.
ConcurrentMapApplicationErrorDao - Class in org.kiwiproject.dropwizard.error.dao.jdk
Implementation of ApplicationErrorDao that uses a ConcurrentMap to store application errors in-memory.
ConcurrentMapApplicationErrorDao() - Constructor for class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
count(ApplicationErrorStatus) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all errors having the specified status.
countAllErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all errors.
countAllErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
countAllErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
countAllErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
countResolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all resolved errors.
countResolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
countResolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
countResolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
countUnresolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all unresolved errors.
countUnresolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
countUnresolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
countUnresolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
countUnresolvedErrorsOnHostSince(ZonedDateTime, String, String) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all unresolved errors since the given date/time that occurred on the specified host and IP address.
countUnresolvedErrorsOnHostSince(ZonedDateTime, String, String) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
countUnresolvedErrorsOnHostSince(ZonedDateTime, String, String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
countUnresolvedErrorsOnHostSince(ZonedDateTime, String, String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
countUnresolvedErrorsSince(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Count all unresolved errors since the given date/time.
countUnresolvedErrorsSince(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
countUnresolvedErrorsSince(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
countUnresolvedErrorsSince(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
createdAt(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
createInMemoryH2Database() - Static method in class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
Creates an in-memory H2 database that will stay alive as long as the JVM is alive and will use the same database for all connections (it uses DB_CLOSE_DELAY=-1 in the database URL to accomplish this).

D

dataStoreType() - Method in interface org.kiwiproject.dropwizard.error.ErrorContext
Return the type of data store this instance uses.
dataStoreType(DataStoreType) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Explicitly configures the DataStoreType to use with this builder.
DataStoreType - Enum in org.kiwiproject.dropwizard.error.model
Used to indicate whether the data store is shared (e.g.
dataStoreTypeOf(DataSourceFactory) - Static method in class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
Returns the DataStoreType for the given DataSourceFactory.
DEFAULT_TIME_WINDOW_MINUTES - Static variable in class org.kiwiproject.dropwizard.error.health.TimeWindow
Default time window amount in minutes.
deleteResolvedErrorsBefore(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Deletes all resolved application errors that were created before the expiration date.
deleteResolvedErrorsBefore(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
deleteResolvedErrorsBefore(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
deleteResolvedErrorsBefore(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
deleteUnresolvedErrorsBefore(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Deletes all unresolved errors that were created before the expiration date.
deleteUnresolvedErrorsBefore(ZonedDateTime) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
deleteUnresolvedErrorsBefore(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
deleteUnresolvedErrorsBefore(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
description(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 

E

environment(Environment) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Sets the Dropwizard Environment to use with this builder.
equals(Object) - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
 
equals(Object) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
equals(Object) - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
equals(Object) - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
ErrorContext - Interface in org.kiwiproject.dropwizard.error
This library provides an easy way to store application errors in your service's local (e.g.
ErrorContextBuilder - Class in org.kiwiproject.dropwizard.error
Builder for ErrorContext implementations.
ErrorContextBuilder() - Constructor for class org.kiwiproject.dropwizard.error.ErrorContextBuilder
 
errorDao() - Method in interface org.kiwiproject.dropwizard.error.ErrorContext
Return the ApplicationErrorDao singleton that can be shared by an entire application.
errorDao(ApplicationErrorDao) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower.ApplicationErrorThrowerBuilder
 
exceptionCauseMessage(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
exceptionCauseType(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
exceptionMessage(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
exceptionType(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 

F

from(String) - Static method in enum org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
Like ApplicationErrorStatus.valueOf(String) except this is case-insensitive.
from(String, String, int) - Static method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
Factory method to create a new instance.

G

getAllErrors(int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Paginate errors.
getAllErrors(int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getAllErrors(int, int) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
getAllErrors(int, int) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
getAllErrorsInternal(int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getApplicationPort() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
getById(long) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Find an error by id.
getById(long) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getById(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
getById(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
getById(OptionalLong) - Method in class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
GET endpoint to retrieve an application error by ID.
getCleanupJobName() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The name to give the scheduled job for cleaning up errors.
getCleanupStrategy() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The strategy to use for what to clean up.
getCreatedAt() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getCreatedAtMillis() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getDescription() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getDuration() - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
The duration of the time window.
getErrors(String, OptionalInt, OptionalInt) - Method in class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
GET endpoint to paginate application errors.
getErrors(ApplicationErrorStatus, int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Paginate errors with the given status.
getErrors(ApplicationErrorStatus, int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getErrors(ApplicationErrorStatus, int, int) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
getErrors(ApplicationErrorStatus, int, int) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
getErrorsInternal(boolean, int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getExceptionCauseMessage() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getExceptionCauseType() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getExceptionMessage() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getExceptionType() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getHostName() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getHostName() - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
getHostName() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
getHumanReadableTimeWindow() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
 
getId() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getInitialJobDelay() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
Initial delay before the cleanup job runs.
getIpAddress() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getIpAddress() - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
getIpAddress() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
getItems() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
getJobInterval() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
Interval that the cleanup job will run.
getNumTimesOccurred() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getPageNumber() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
getPageSize() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
getPersistentHostInformation() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Return the currently set persistent host information.
getPort() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getPort() - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
getResolvedErrorExpiration() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The duration that a resolved error will live before being deleted.
getStackTrace() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getTimeWindow() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
 
getTimeWindowAmount() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
 
getTimeWindowUnit() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
 
getTotalCount() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
getUnresolvedErrorExpiration() - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The duration that an unresolved error will live before being deleted.
getUnresolvedErrorsByDescription(String) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Find all errors that have the given description.
getUnresolvedErrorsByDescription(String) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getUnresolvedErrorsByDescription(String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
getUnresolvedErrorsByDescription(String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
getUnresolvedErrorsByDescriptionAndHost(String, String) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Find all errors that have the given description and which occurred on the given host.
getUnresolvedErrorsByDescriptionAndHost(String, String) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
getUnresolvedErrorsByDescriptionAndHost(String, String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
getUnresolvedErrorsByDescriptionAndHost(String, String) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
getUpdatedAt() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
getUpdatedAtMillis() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
gotErrors() - Method in class org.kiwiproject.dropwizard.error.resource.GotErrorsResource
Check if application errors are available.
GotErrorsResource - Class in org.kiwiproject.dropwizard.error.resource
A simple JAX-RS resource for clients to determine if application errors are available or not.
GotErrorsResource(DataStoreType) - Constructor for class org.kiwiproject.dropwizard.error.resource.GotErrorsResource
Construct a new instance.

H

hashCode() - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
 
hashCode() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
hashCode() - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
hashCode() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
hostName(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
hostName(String) - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails.ServiceDetailsBuilder
 

I

id(Long) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
incrementCount(long) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Increments the count of the error with the given ID, and updates the timestamp.
incrementCount(long) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
incrementCount(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
incrementCount(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
incrementCountInternal(long) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
insertError(ApplicationError) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Insert a new error, returning the generated ID of the saved error.
insertError(ApplicationError) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
Inserts a new ApplicationError.
insertError(ApplicationError) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
insertError(ApplicationError) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
insertErrorInternal(ApplicationError) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
insertOrIncrementCount(ApplicationError) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Inserts a new error if no unresolved errors exist having the same description and host name.
insertOrIncrementCount(ApplicationError) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
insertOrIncrementCount(ApplicationError) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
insertOrIncrementCount(ApplicationError) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
ipAddress(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
ipAddress(String) - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails.ServiceDetailsBuilder
 
isH2DataStore(DataSourceFactory) - Static method in class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
Is the given DataSourceFactory configured for an H2 database?
isResolved() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
items(List<ApplicationError>) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 

J

Jdbi3ApplicationErrorDao - Interface in org.kiwiproject.dropwizard.error.dao.jdbi3
Implementation of ApplicationErrorDao that uses JDBI 3.
Jdbi3ApplicationErrorRowMapper - Class in org.kiwiproject.dropwizard.error.dao.jdbi3
JDBI 3 row mapper for ApplicationError objects.
Jdbi3ApplicationErrorRowMapper() - Constructor for class org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorRowMapper
 

L

logAndSaveApplicationError(String) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
Log and save an ApplicationError with the given message.
logAndSaveApplicationError(String, Object...) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
Log and save an ApplicationError with the given parameterized message using the supplied message arguments.
logAndSaveApplicationError(Throwable, String) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
Log and save an ApplicationError with the given Throwable and message.
logAndSaveApplicationError(Throwable, String, Object...) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
Log and save an ApplicationError with the given Throwable and parameterized message using the supplied message arguments.
logAndSaveApplicationError(ApplicationErrorDao, Logger, String) - Static method in class org.kiwiproject.dropwizard.error.ApplicationErrors
Log and save an ApplicationError with the given message.
logAndSaveApplicationError(ApplicationErrorDao, Logger, String, Object...) - Static method in class org.kiwiproject.dropwizard.error.ApplicationErrors
Log and save an ApplicationError with the given parameterized message using the supplied message arguments.
logAndSaveApplicationError(ApplicationErrorDao, Logger, Throwable, String) - Static method in class org.kiwiproject.dropwizard.error.ApplicationErrors
Log and save an ApplicationError with the given Throwable and parameterized message using the supplied message arguments.
logAndSaveApplicationError(ApplicationErrorDao, Logger, Throwable, String, Object...) - Static method in class org.kiwiproject.dropwizard.error.ApplicationErrors
Log and save an ApplicationError with the given Throwable and parameterized message using the supplied message arguments.
logger(Logger) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower.ApplicationErrorThrowerBuilder
 

M

map(ResultSet, StatementContext) - Method in class org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorRowMapper
 
matchesApplicationError(String) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching only the given description.
matchesApplicationError(String, Class<?>) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description and exception type.
matchesApplicationError(String, Class<?>, String) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description, exception type, and exception message.
matchesApplicationError(String, Class<?>, String, Class<?>) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description, exception type, exception message, and exception cause type.
matchesApplicationError(String, Class<?>, String, Class<?>, String) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description, exception type, exception message, and exception cause type and message.
matchesApplicationError(String, Class<?>, String, Class<?>, String, String, String, int) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description, exception type and message, exception cause type and message, and host information.
matchesApplicationError(String, Class<?>, String, String, int) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description, exception type, and host information.
matchesApplicationError(String, String, String, int) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher matching the given description and host information.
matchesApplicationError(SoftAssertions, String, Class<?>, String, Class<?>, String, String, String, int) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
Return an ArgumentMatcher that "softly" matches the given description, exception type and message, exception cause type and message, and host information.
migrateDatabase(Connection) - Static method in class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
Runs database migrations using Liquibase.

N

newError(String, ApplicationError.Resolved, String, String, int, Throwable) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Create a new error instance with one occurrence the given description, resolution status, host information, and cause.
newError(String, ApplicationError.Resolved, Throwable) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Create a new error instance with one occurrence the given description, resolution status, and cause.
newInstance() - Static method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
 
newUnresolvedError(String) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Create a new unresolved error with one occurrence using only the given description.
newUnresolvedError(String, String, String, int, Throwable) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Create a new unresolved error with one occurrence using the given description, host information, and cause.
newUnresolvedError(String, Throwable) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Create a new unresolved error with one occurrence using the given description and cause.
NO - org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
 
NoOpApplicationErrorDao - Class in org.kiwiproject.dropwizard.error.dao.jdk
An implementation of ApplicationErrorDao that does nothing, i.e.
NoOpApplicationErrorDao() - Constructor for class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
NOT_SHARED - org.kiwiproject.dropwizard.error.model.DataStoreType
Indicates the application error data store is not shared and errors will be local to that client, e.g.
numTimesOccurred(int) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 

O

of(boolean) - Static method in enum org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
 
org.kiwiproject.dropwizard.error - package org.kiwiproject.dropwizard.error
 
org.kiwiproject.dropwizard.error.config - package org.kiwiproject.dropwizard.error.config
 
org.kiwiproject.dropwizard.error.dao - package org.kiwiproject.dropwizard.error.dao
 
org.kiwiproject.dropwizard.error.dao.jdbi3 - package org.kiwiproject.dropwizard.error.dao.jdbi3
 
org.kiwiproject.dropwizard.error.dao.jdk - package org.kiwiproject.dropwizard.error.dao.jdk
 
org.kiwiproject.dropwizard.error.health - package org.kiwiproject.dropwizard.error.health
 
org.kiwiproject.dropwizard.error.job - package org.kiwiproject.dropwizard.error.job
 
org.kiwiproject.dropwizard.error.model - package org.kiwiproject.dropwizard.error.model
 
org.kiwiproject.dropwizard.error.resource - package org.kiwiproject.dropwizard.error.resource
 
org.kiwiproject.dropwizard.error.test.junit.jupiter - package org.kiwiproject.dropwizard.error.test.junit.jupiter
 
org.kiwiproject.dropwizard.error.test.mockito - package org.kiwiproject.dropwizard.error.test.mockito
 

P

pageNumber(int) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 
pageSize(int) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 
PersistentHostInformation - Class in org.kiwiproject.dropwizard.error.model
Defines information about the host on which application errors are created for a Dropwizard application while it is running on a specific host and port.
PersistentHostInformation(String, String, int) - Constructor for class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
port(int) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 

R

recentErrorsHealthCheck() - Method in interface org.kiwiproject.dropwizard.error.ErrorContext
Return the RecentErrorsHealthCheck, mainly so that the time window information can be obtained if it is needed for some reason, e.g.
RecentErrorsHealthCheck - Class in org.kiwiproject.dropwizard.error.health
Checks if there have been any application errors created or updated in a time window ending at the current date/time and extending backward for a configurable period of time.
RecentErrorsHealthCheck(ApplicationErrorDao, ServiceDetails) - Constructor for class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
Create with default time window.
RecentErrorsHealthCheck(ApplicationErrorDao, ServiceDetails, long, TemporalUnit) - Constructor for class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
Create with specified time window amount and unit.
RecentErrorsHealthCheck(ApplicationErrorDao, ServiceDetails, Duration) - Constructor for class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
Create with specified time window.
RecentErrorsHealthCheck(ApplicationErrorDao, ServiceDetails, TimeWindow) - Constructor for class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
Create with specified time window.
resolve(long) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Resolves the error with the given ID.
resolve(long) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
resolve(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
resolve(long) - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
resolve(OptionalLong) - Method in class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
Resolve an application error by ID.
resolveAllUnresolved() - Method in class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
Resolve all unresolved application errors.
resolveAllUnresolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
Resolves all unresolved errors.
resolveAllUnresolvedErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
resolveAllUnresolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.ConcurrentMapApplicationErrorDao
 
resolveAllUnresolvedErrors() - Method in class org.kiwiproject.dropwizard.error.dao.jdk.NoOpApplicationErrorDao
 
resolved(boolean) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
RESOLVED - org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
 
RESOLVED_ONLY - org.kiwiproject.dropwizard.error.config.CleanupConfig.CleanupStrategy
 
resolveInternal(long) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
 
runSafely() - Method in class org.kiwiproject.dropwizard.error.job.CleanupApplicationErrorsJob
 

S

serviceDetails(ServiceDetails) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Sets the ServiceDetails to use with this builder.
ServiceDetails - Class in org.kiwiproject.dropwizard.error.model
Encapsulates service information to use when setting PersistentHostInformation.
ServiceDetails(String, String, int) - Constructor for class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
ServiceDetails.ServiceDetailsBuilder - Class in org.kiwiproject.dropwizard.error.model
 
setCleanupJobName(String) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The name to give the scheduled job for cleaning up errors.
setCleanupStrategy(CleanupConfig.CleanupStrategy) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The strategy to use for what to clean up.
setDuration(Duration) - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
The duration of the time window.
setInitialJobDelay(Duration) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
Initial delay before the cleanup job runs.
setJobInterval(Duration) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
Interval that the cleanup job will run.
setPersistentHostInformation(String, String, int) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
Sets the persistent host name, IP address, and port to use when factory methods without host information are used.
setPersistentHostInformation(PersistentHostInformation) - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
setResolvedErrorExpiration(Duration) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The duration that a resolved error will live before being deleted.
setUnresolvedErrorExpiration(Duration) - Method in class org.kiwiproject.dropwizard.error.config.CleanupConfig
The duration that an unresolved error will live before being deleted.
shared() - Method in enum org.kiwiproject.dropwizard.error.model.DataStoreType
 
SHARED - org.kiwiproject.dropwizard.error.model.DataStoreType
Indicates the application error data store is shared across multiple clients, and any of them can be used to create or find errors.
skipCleanupJob() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the resulting ErrorContext so that it does not create/register a cleanup job with Dropwizard.
skipHealthCheck() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the resulting ErrorContext so that it does not create/register a health check with Dropwizard.
stackTrace(String) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
 

T

timeWindow(TimeWindow) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the TimeWindow for the health check.
TimeWindow - Class in org.kiwiproject.dropwizard.error.health
Can be used as a configuration class, e.g.
TimeWindow() - Constructor for class org.kiwiproject.dropwizard.error.health.TimeWindow
 
TimeWindow(Duration) - Constructor for class org.kiwiproject.dropwizard.error.health.TimeWindow
 
timeWindowUnit(TemporalUnit) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the TemporalUnit for the health check.
timeWindowValue(long) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
Configures the length of time for the health check.
toBoolean() - Method in enum org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
 
toString() - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower.ApplicationErrorThrowerBuilder
 
toString() - Method in class org.kiwiproject.dropwizard.error.health.TimeWindow
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.PersistentHostInformation
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails.ServiceDetailsBuilder
 
toString() - Method in class org.kiwiproject.dropwizard.error.model.ServiceDetails
 
totalCount(long) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage.ApplicationErrorPageBuilder
 

U

UNRESOLVED - org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
 
updatedAt(ZonedDateTime) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError.ApplicationErrorBuilder
 

V

valueOf(String) - Static method in enum org.kiwiproject.dropwizard.error.config.CleanupConfig.CleanupStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.dropwizard.error.model.DataStoreType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kiwiproject.dropwizard.error.config.CleanupConfig.CleanupStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.dropwizard.error.model.DataStoreType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyAtLeastOneInsertOrIncrementCount(ApplicationErrorDao) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorVerifications
Verify that ApplicationErrorDao.insertOrIncrementCount(ApplicationError) was called at least one time on errorDao and that no other interactions occurred.
verifyExactlyOneInsertOrIncrementCount(ApplicationErrorDao) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorVerifications
Verify that ApplicationErrorDao.insertOrIncrementCount(ApplicationError) was called exactly one time on errorDao and that no other interactions occurred.

W

withId(Long) - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
 

Y

YES - org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
 
A B C D E F G H I J L M N O P R S T U V W Y 
All Classes All Packages