Package ubic.gemma.core.util
-
Interface Summary Interface Description CLI Interface for CLI tools.GemmaRestApiClient A minimalist client for accessing Gemma's RESTful API.GemmaRestApiClient.DataResponse GemmaRestApiClient.EmptyResponse For endpoints that return no data (i.e.GemmaRestApiClient.ErrorResponse For endpoints that may return an error.GemmaRestApiClient.ErrorResponse.Error GemmaRestApiClient.Response A response from the API, which is either aGemmaRestApiClient.DataResponse
orGemmaRestApiClient.ErrorResponse
.MailEngine SimpleRetryCallable<T,E extends Exception> An interface for work that can be retried. -
Class Summary Class Description AbstractAuthenticatedCLI Subclass this to create command line interface (CLI) tools that need authentication.AbstractCLI Basic implementation of theCLI
interface.BuildInfo DummyMailSender Mock mail sender for testing.FileUtils GemmaRestApiClientImpl HelpUtils ListUtils Utilities and algorithms forList
.MailEngineImpl MarkCLIsAsPrototypes Mark all CLI beans as prototype and singletons as lazy-init by default.NetDatasourceUtil Helper methods to get FTP connection.SimpleRetry<E extends Exception> A simple retry implementation with exponential backoff.SimpleThreadFactory A simple thread factory based on a preferably unique thread name prefix.TextResourceToSetOfLinesFactoryBean Converts a text resource into a set of lines.XMLUtils Handy methods for dealing with XML. -
Exception Summary Exception Description GemmaRestApiClientException