All Classes and Interfaces
Class
Description
Allows reporting and tracking of activities.
An Activity allows updating progress and signaling when the
ActivityReporter.Activity
is finished.Exception to be thrown when an activity has been cancelled from outside.
Delegator
ActivityReporter which can change destination lazily once a proper instance
is available (after server startup, ...).No-op
ActivityReporter, which does nothing, except being
null.An
ActivityReporter implementation which reports progress to a given
PrintStream.Annotates a parameter which contributes to the scope of activities started within the current request.
A serializable snapshot of an activity on the server.
Represents a secure access token.
A
Auditor is responsible for persisting AuditRecords.Extracts field values from Hive
BHive.Operations for auditing purposes.Defines the strategy used to extract a fields value.
Determines how a field should be audited
Prevents auditing of the given Field.
Immutable object representing an audit entry.
Waits until a given directory is unlocked.
A high level management layer for storage repositories.
Base class for all operations that need to access internals of the
BHive they are executed on.Base class for operations which require an open transaction, set up by the caller.
Main CLI entry point.
Interface for objects accepting a
BHive.Operation for execution.A jackson module which adds logic to (de-) serialize
Manifest.Keys.Root resource location for all hives.
A listener which can be attached to the registry which is notified whenever
Manifests spawn in any of the
registered hives, see ManifestSpawnListener.Resource allowing access to a single
BHive.Keeps track of running operations in the JVM.
Represents a writing transaction in the BHive.
View of a blob (simple file content stored in a
BHive).The
Configuration is basically a wrapper around a Map which
exposes access to the Map through Annotations.Maps the annotated method to another property name in the context.
Annotated field's value will be mapped on injection using the given
Configuration.ValueMapping policy.Describes a custom editor plugin.
Provides a custom sorting algorithm for product versions.
Holds data about an object which was damaged.
The different DataTable formats.
Represents the result of a CLI tool.
A table displaying a series of
DataTableCells.Base class for
DataTable implementations.A single cell of a
DataTable.A single column in a
DataTable.Builds a table row cell by cell.
Default reference handler which recursively exports
Manifest references inline in the referencing location.Implementors are capable of asserting that a given dependency is present in the given hive.
A tool to check disc usage for one or more given manifests.
Base of all view carried by a
TreeView recursively.A tool to export a given manifest's files recursively to a target directory.
Export a
Tree recursively into a directory and return theA tool to fetch one or more manifests with all required objects from a remote
hive to the local hive.
An input stream that reads a given amount of bytes from a stream.
Contains static helpers to format various data types into a human readable format.
The
FsckOperation checks the hive for consistency problems.A tool to check consistency of manifests and objects.
Helper to aid in working with
FuturesHelper to convert checksums in byte[] representation to a
StringValidate hostname value according to https://tools.ietf.org/html/rfc1123 2.1 which extends
Import a single
Path into the ObjectDatabase.Import a single blob from existing data in memory into the
ObjectDatabase.Import a
Path recursively into the local hive.Import a source directory recursively into a hive and create a manifest for
it using the given values.
Initializes a previously empty directory as BHive.
Creates and caches in-memory
KeyStores for minion and hive remote
access.Describes a deployments current state.
A
ContainerResponseFilter which audit's requests and their results.A
ContainerRequestFilter which enforces token based authentication
for all requests.ContainerRequestFilter which marks a request as authenticated for
endpoints with the JerseyAuthenticationProvider.Unsecured annotation.Mark a single endpoint as "unsecure", allowing a call without valid token.
A
JerseyAuthenticationProvider.UserValidator will verify that a successfully authenticated user is still valid.Allows authentication using a weak token.
An activity reporter which exposes currently running activities to be broadcasted via SSE
A factory for Jersey based JAX-RS clients.
A listener implementation which will request a certain service at container startup, so that it is initialized.
Client filter adding support for
content encoding.Filter which tracks the timings of all requests.
A resource which allows remote access to server metrics.
Fields used in metrics which count occurrences
A metric counting occurrences.
Keeps track of a snapshot of a value
Fields used in metrics which keep track of value distribution
A metric counting values and keeping track of their distribution
Fields used in metrics which meter rates
Count and measure rates of metric occurrence.
Bundles all metrics in a serialization/JSON friendly way.
Count and measure rates of metric occurrence as well as keeping track of
occurrence duration distribution.
Provides a properly configured
ObjectMapper used for
(de-)serialization of JSON objects.Allows deserializing
Path objects (parameter or return value).Allows serializing existing files by returning/accepting
Path
objects.Specifies that the file written to the remote must be deleted after writing.
Resource allowing cancellation of activities on the server.
Provides a wrapper around the
ContainerRequestContext where per-request data is stored.A simple
SecurityContext which provides information based on the
authentication token used to authenticate a service call.Encapsulates required functionality from the Grizzly HttpServer with the
Jersey handlers.
Handles reading/writing of large data streams while tracking progress.
Queries annotations on resource implementations for
JerseyWriteLockService.LockingResource and JerseyWriteLockService.WriteLock annotations and locks
accordingly.Keeps track of all locks for locking resources
Marks a resource as 'locking'.
Specifies that the annotated method should lock the write-lock of the
JerseyWriteLockService.LockingResource instead of the read-lock.Common interface for providers of
KeyStores.Adapts a local
BHive to a RemoteBHive.Locally stored data for login sessions.
Manages stored local login sessions for CLI or build tools.
Represents a locally stored login session.
Base class for a database which requires locked modifications for
parallel-safety (JVM overarching).
Interface for operations that need to lock the database (basically every
writing operation).
Lock a directory.
Represents a manifest.
Builder to create a Manifest.
Represents the unique ID of a manifest.
Comparator for manifest keys that are using a simple numeric version counting schema.
Operation to check manifest consistency.
Stores and manages
Manifests.Operation to delete manifests from the
ManifestDatabase of
the BHive which follow the simple version counting scheme.Operation to delete a single manifest from the
ManifestDatabase of
the BHive.Checks whether the given manifest exists in the underlying
BHiveReturns the lexically "newest" tag for a given manifest.
Returns the highest currently available version number for Manifests which use a simple counter versioning scheme.
Returns the next available version number for Manifests which use a simple counter versioning scheme.
Listener which is notified when a
Manifest is created from remoteA tool to list and manage (delete, export) manifests in a hive.
A marker database acts as temporary synchronization and locking over threads and even JVMs.
Utility class that simplifies writing log statements with MDC data.
A
MetaManifest allows to persist an load metadata associated with a given Manifest.Provides access to global
MetricRegistrys by use case.Refers to a missing object.
A
ThreadFactory which provides better names to threads.Used together with the
RequiredPermission annotation.An
AutoCloseable which does not throw on close.A destination sink which broadcasts object changes.
WebSocket listener which handles communication with the ObjectChangeWebSocket on the server.Wraps a
WebSocket with functionality regarding ObjectChangeRegistrationDto.Represents a change in an object
Message used to initialize the WebSocket connection to the server
Manages registrations for certain object change types and related
ObjectScopes.A message to instruct a change in a
WebSocket event registration on the server.Whether to add or remove a registration
Listens to messages on a
WebSocket and adjusts registrations according to instructions received.Checks for missing and corrupt objects.
A simple key-value data store.
Determines what change happened in an
ObjectChangeDto.Result object indicating what is missing and existing.
Uniquely identifies a certain object.
Provides higher level operations on the
ObjectDatabase.Used for modifying operations on the DB.
Reads one or more objects from a stream and inserts them into the local hive.
Encapsulates scoping logic.
Measures the disc usage of all
ObjectIds given and returns the sum.Writes one or more objects to a stream.
Wraps around an actual (JCEKS) keystore on disc.
Determines OS specifics.
Base class for all plugins.
Describes a mapping of a static path inside the JAR file of a plugin to a URL path in the plugins scope under which this path
should be made available on the server.
Builder to create new product manifests.
This descriptor references all files which should be validated during raw product validation.
A helper that handles packaging a local
ProductValidationDescriptorApi along with all required files, send it to the
server, and return the validation result.Represents a single issue in raw product validation.
The response object used in
PublicProductValidationResource.validate(java.io.InputStream) to wrap around multiple
ProductValidationIssueApi.Contains potentially dynamic information relevant when creating a product
Removes dangling (unreferenced) objects from the
ObjectDatabase.A tool to remove unreferenced objects from a hive, for instance after
deleting a manifest.
Public remote API which performs product validation.
Proxy requests to a target process on an instance.
Pushes a manifest with all required objects to a remote hive.
Marks an operation as read-only.
Describes receiver for JAX-RS registrations (resources, providers, ...).
Resolves an existing lock by deleting the lock file.
Represents a possibly remote (might also be "remote" in the sense of another
directory on disc) BHive.
Represents data about a single known minion.
Base class for all CLI tools which need to access a remote service.
Any result of a tool which can be rendered to the user.
An input stream that reports how many bytes have been read and that calculates the transfer rate.
Specifies the permission required to access methods.
Assertion helper for asserting in business logic.
A
ScopedManifestKey provides additional scope to the BHive "name" and "tag" concept by mangling additional scoping
information into the manifest name.Describes access rights to a given resource.
Available permissions.
Encapsulates certificate and token handling for mutual authentication.
Starts a HTTP(S) server which serves given
BHives other the network.A function that will be called to determine whether or not the resolving of a given parameter value should be executed.
Custom tree serialization/de-serialization.
Holds information about an object which was skipped during a
Tree scan.A auditor implementation that is using a logger to write the audit records.
A comparator that ensures that a given string is put at the end.
Provides functionality to persist and load model objects from persistent
storage.
Helper for
StringSimplifies execution and progress reporting for operations that should run in parallel.
Performs tasks.
Common helpers for waiting and sleeping.
Generates an access token and exports the public key for this server, given
the private key store.
Main CLI entry point base class.
Base class for all CLI tools.
Base class for tools that accept additional configuration.
Base class for tools which require access to the actual command line they have been passed.
A human readable category for each tool.
The annotated tool will be run in verbose mode by default.
Holds information about a transfer (push/fetch) operation.
Represents a Tree of objects.
A builder to create an immutable
TreeDescribes the type of each entry in the tree.
A key to uniquely identify a
Tree entry.Used to calculate the differences of two
TreeViews.Represents a single difference when comparing two
TreeViews.Loads the specified file by relative path from a
Tree and its
underlying storage in the ObjectDatabase of the BHive.Container for functional visitors on a
TreeView.Build a new
TreeVisitor suitable for TreeView.visit(TreeVisitor)."Something URL-like", which can be split into scheme, host, port and "the rest".
Calculates new UUIDs which can be used to uniquely name artifacts.
Type-safe interface for all variable resolvers.
A Version in the format <major>.<minor>.<micro>[-qualifier]|[.qualifier]