Package com.bc.ceres.core
package com.bc.ceres.core
Provides low-level application classes for service registration,
progress monitoring and assertions.
- Since:
- Ceres 0.5
-
ClassDescription
Assert
is useful for embedding runtime sanity checks in code.An exception which clients can use to signal that aProgressMonitor
requested cancellation of a running process.An exception thrown by the core.The default resource locator.Objects implementing this interface can be dynamically extended.Base class for an object that can be dynamically extended.A factory providing runtime extensions for a given object.TheExtensionManager
is a service used to register and unregisterExtensionFactory
s with a given type of an extensible object.A default progress monitor implementation suitable for subclassing.A progress monitor which prints progress using aPrintWriter
.A progress monitor which prints progress using aPrintWriter
.An observer that notifies itshandlers
about lines of characters that have been written by a process to bothstdout
andstderr
output streams.Default implementation ofProcessObserver.Handler
, which simply prints observations to the console.A handler that will be notified during the observation of the process.The observation mode.The observed process.TheProgressMonitor
interface is implemented by objects that monitor the progress of an activity; the methods in this interface are invoked by code that performs the activity.An abstract wrapper around a progress monitor which, unless overridden, forwardsIProgressMonitor
andIProgressMonitorWithBlocking
methods to the wrapped progress monitor.Resource locators are service providers used collect resources across multiple code bases in multi-module environments.A registry for services of a specific type.A manager for service registries.An implementation of aExtensionFactory
for a single extension type.A progress monitor that uses a given amount of work ticks from a parent monitor.A read-only directory that can either be a directory in the file system or a ZIP-file.