Common utilities for Helidon projects.
Interface Summary Interface Description Builder<T>Interface for builders, to be able to accept a builder in addition to an instance. LazyValue<T>A typed supplier that wraps another supplier and only retrieves the value on the first request to
Supplier.get(), caching the value for all subsequent invocations.
PrioritizedInterface to define that this class is a class with priority.
Class Summary Class Description CollectionsHelperA set of static methods similar to Java9's List.of(), Set.of() and Map.of(). ErrorsErrors utility used to file processing messages (e.g. Errors.CollectorA collector of
Errors.ErrorMessageError message with a severity and a source. GenericType<T>Represents a full type including generics declaration, to avoid information loss due to type erasure. HelidonConsoleHandler HelidonConsoleHandler.ThreadFormatterA
SimpleFormatterthat replaces all occurrences of
"!thread!"with the current thread.
InputStreamHelperA set of static utility methods for
OptionalHelper<T>A wrapper on top of
Optionalto replicate some of the new Java9 methods.
StackWalkerA dummy replicate of Java9's StackWalker. VersionSimple class to provide version information.
Enum Summary Enum Description SeveritySeverity of an event. StackWalker.OptionOption for future partial compatibility with Java9.
Exception Summary Exception Description Errors.ErrorMessagesExceptionException used by
Errors.checkValid()thrown in case there are fatal messages.