A B C D E F G I J L M N O P R S T U V Y
All Classes All Packages
All Classes All Packages
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
- ApplicationError - Class in org.kiwiproject.dropwizard.error.model
-
Defines an application error that you want to save in a data store.
- ApplicationError() - Constructor for class org.kiwiproject.dropwizard.error.model.ApplicationError
- 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
ApplicationError
s. - ApplicationErrorExtension - Class in org.kiwiproject.dropwizard.error.test.junit.jupiter
-
A JUnit Jupiter extension that ensures the
PersistentHostInformation
is set onApplicationError
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 withBeforeAll
,BeforeEach
, orTest
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() - Constructor for class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
- 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
. - ApplicationErrorMatchers() - Constructor for class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorMatchers
- ApplicationErrorPage - Class in org.kiwiproject.dropwizard.error.model
-
Represents a "page" of
ApplicationError
results, e.g. - ApplicationErrorPage() - Constructor for class org.kiwiproject.dropwizard.error.model.ApplicationErrorPage
- 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.
- ApplicationErrors() - Constructor for class org.kiwiproject.dropwizard.error.ApplicationErrors
- 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 propertiesApplicationErrorDao
andLogger
to log and throw (save) application errors. - ApplicationErrorThrower() - Constructor for class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
- ApplicationErrorVerifications - Class in org.kiwiproject.dropwizard.error.test.mockito
-
Utilities for performing Mockito verifications on calls on mock
ApplicationErrorDao
instances. - ApplicationErrorVerifications() - Constructor for class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorVerifications
B
- beforeAll(ExtensionContext) - Method in class org.kiwiproject.dropwizard.error.test.junit.jupiter.ApplicationErrorExtension
- buildInMemoryH2() - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
-
Build an
ErrorContext
backed by an in-memory H2 database that uses JDBI version 3. - buildWithDataStoreFactory(DataSourceFactory) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
-
Build an
ErrorContext
using given thedataSourceFactory
that uses JDBI version 3. - buildWithJdbi3(Jdbi) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
-
Build an
ErrorContext
that uses JDBI version 3.
C
- 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.
- clearPersistentHostInformation() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
-
Clears out (by nullifying) the persistent host name, IP address, and port.
- count(ApplicationErrorStatus) - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
-
Count all errors having the specified status.
- count(ApplicationErrorStatus) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
- countAllErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.ApplicationErrorDao
-
Count all errors.
- countAllErrors() - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
- 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
- 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
- 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
- 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
- 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 givenDataSourceFactory
. - DEFAULT_TIME_WINDOW_MINUTES - Static variable in class org.kiwiproject.dropwizard.error.health.TimeWindow
-
Default time window amount in minutes.
E
- environment(Environment) - Method in class org.kiwiproject.dropwizard.error.ErrorContextBuilder
-
Sets the Dropwizard
Environment
to use with this builder. - 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.
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
- getAllErrorsInternal(int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
- 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(OptionalLong) - Method in class org.kiwiproject.dropwizard.error.resource.ApplicationErrorResource
-
GET endpoint to retrieve an application error by ID.
- getCreatedAtMillis() - Method in class org.kiwiproject.dropwizard.error.model.ApplicationError
- 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
- getErrorsInternal(boolean, int, int) - Method in interface org.kiwiproject.dropwizard.error.dao.jdbi3.Jdbi3ApplicationErrorDao
- getPersistentHostInformation() - Static method in class org.kiwiproject.dropwizard.error.model.ApplicationError
-
Return the currently set persistent host information.
- getTimeWindow() - Method in class org.kiwiproject.dropwizard.error.health.RecentErrorsHealthCheck
- 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
- 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
- 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.
I
- 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
- 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
. - 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
- isH2DataStore(DataSourceFactory) - Static method in class org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc
-
Is the given
DataSourceFactory
configured for an H2 database?
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 givenThrowable
and message. - logAndSaveApplicationError(Throwable, String, Object...) - Method in class org.kiwiproject.dropwizard.error.ApplicationErrorThrower
-
Log and save an
ApplicationError
with the givenThrowable
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 givenThrowable
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 givenThrowable
and parameterized message using the supplied message arguments.
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
- 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.
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.dao - package org.kiwiproject.dropwizard.error.dao
- org.kiwiproject.dropwizard.error.dao.jdbi3 - package org.kiwiproject.dropwizard.error.dao.jdbi3
- org.kiwiproject.dropwizard.error.health - package org.kiwiproject.dropwizard.error.health
- 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
- 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
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(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
- RESOLVED - org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
- 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
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() - Constructor for class org.kiwiproject.dropwizard.error.model.ServiceDetails
- 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
-
Overload/alias of
ApplicationError.setPersistentHostInformation(String, String, int)
that accepts aPersistentHostInformation
instance. - 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.
- 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. - 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
- 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
U
- UNRESOLVED - org.kiwiproject.dropwizard.error.dao.ApplicationErrorStatus
V
- 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.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
thatApplicationErrorDao.insertOrIncrementCount(ApplicationError)
was called at least one time onerrorDao
and that no other interactions occurred. - verifyExactlyOneInsertOrIncrementCount(ApplicationErrorDao) - Static method in class org.kiwiproject.dropwizard.error.test.mockito.ApplicationErrorVerifications
-
Verify
thatApplicationErrorDao.insertOrIncrementCount(ApplicationError)
was called exactly one time onerrorDao
and that no other interactions occurred.
Y
- YES - org.kiwiproject.dropwizard.error.model.ApplicationError.Resolved
All Classes All Packages