Package com.github.cafapi.common.api
package com.github.cafapi.common.api
-
ClassDescriptionA bootstrap configuration is a method of providing basic, initial startup configuration.Provides a method of encrypting and decrypting string data, such as passwords.Thrown when a Cipher encounters a failure when encrypting or decrypting information.Simple boilerplate for returning a Cipher implementation.A Codec specifies methods to serialise data from a Java object to byte format, and deserialise data from byte format back into a specified Java class.Thrown when a Codec fails to encode or decode information.Indicates either that the class is a simple Java object that stores configuration, or for fields within a class, indicates this object is an embedded configuration object that can be overridden by a ConfigurationSource.Simple interface to return the Decoder to use when reading the configuration files.Indicates there was a problem in the ConfigurationSource module.Provides metrics for a ConfigurationSource.A ConfigurationSource is intended to provide an implementation-agnostic method of retrieving application-specific configuration.Simple boilerplate to return a ConfigurationSource.Used on a field of type Map with String keys to indicate that they keys must contains specific Strings.Validates a specific String key is present within a Map.Dictates the decoding method for a Codec, specifying whether the Codec should perform strict decoding or be more lenient which can help in being tolerant to data from a subtly different class version of the object.A Decoder provides a facility to convert data to an object representation.Allows interaction with the election process of an individual service election.The endpoint that an election process will call to upon election or rejection of this instance from a particular Election.Thrown if there is a problem with the election process.Factory class for returning Election objects for a specific service election.Simple boilerplate for providing an ElectionFactory.Marker annotation that specifies an item, typically in a configuration class, that a SecurityProvider can decrypt.Used to associate a class with a file extension or a set of file extensions.Indicates this object can report on its health.A result returned from a class that implements HealthReporter, indicating its health status and if necessary, a message detailing further information.The overall, concise status of the health of a service.QuietResource<T extends AutoCloseable>Utility class for use with try-with-resources, for classes where the close operation may throw an exception, but this is not a useful check.