| Interface | Description |
|---|---|
| DirectoryCleaner.PathSelector | |
| ErrorLogger.LogImpl | |
| FilteredDirectoryCopier | |
| InputStreamConsumer.Handler |
Interface to handle a line of input from the stream.
|
| Libc | |
| Libc.OpenPtyLibrary | |
| ListeningCharsetDecoder.DecoderListener | |
| ListeningCharsetEncoder.EncoderListener | |
| ListeningProcessExecutor.LaunchedProcess |
Represents a process which was launched by a
ListeningProcessExecutor. |
| ListeningProcessExecutor.ProcessListener |
Callback API to notify the caller on a background thread when a process starts, exits, has
stdout or stderr bytes to read, or is ready to receive bytes on stdin.
|
| ProcessExecutor | |
| ProcessExecutor.LaunchedProcess |
Represents a running process returned by
ProcessExecutor.launchProcess(ProcessExecutorParams). |
| ProcessExecutorFactory | |
| ProcessManager |
Checks for and kills processes.
|
| ProcessRegistry.ProcessRegisterCallback |
A callback to be called upon registering a process.
|
| Scope |
A more specific interface that doesn't throw rather than using
AutoCloseable directly. |
| UserIdFetcher |
Fetches the user ID of the running process.
|
| Class | Description |
|---|---|
| AbstractCloseableMemoizedSupplier<T,E extends Exception> |
Base class for
CloseableMemoizedSupplier and ThrowingCloseableMemoizedSupplier |
| AbstractCloseableWrapper<T,E extends Exception> |
Base class for
ThrowingCloseableWrapper and CloseableWrapper |
| Ansi |
Encapsulates the specifics of writing to a particular kind of terminal.
|
| AnsiEnvironmentChecking |
Utility class to check if the environment supports ANSI escape sequences.
|
| BgProcessKiller |
Safely kill background processes on nailgun client exit.
|
| BuckConstant | |
| ByteBufferReplacer |
Performs an in-place find-and-replace on
ByteBuffer objects, where the replacements are
of equal length to what they're replacing. |
| CapturingPrintStream | |
| ChunkAccumulator |
Accumulates
String chunks, keeping only the most recent to stay under a given maximum
size. |
| ClassLoaderCache |
Maintain a cache mapping class paths to class loaders that load from these class paths.
|
| CloseableHolder<T extends Closeable> |
CloseableHolder is used to pass ownership of a Closeable.
|
| CloseableMemoizedSupplier<T> |
Convenience wrapper class to attach closeable functionality to suppliers of resources to be
closed.
|
| CloseableWrapper<T> |
Convenience wrapper class to attach closeable functionality to non-closeable class so it can be
used with try-with-resources to make sure resources are always released and proper exception
suppression is used.
|
| CommandSplitter |
Splits an argument list into a list of command invocations whose total length will not exceed the
specified limit if possible.
|
| Console | |
| ContextualProcessExecutor | |
| DefaultFilteredDirectoryCopier |
This class allows the creation of copies of multiple directories, while filtering out files which
do not match a specified predicate.
|
| DefaultProcessExecutor |
Executes a
Process and blocks until it is finished. |
| DirectoryCleaner | |
| DirectoryCleaner.PathStats | |
| DirectoryCleanerArgs | |
| DirectoryCleanerArgs.Builder | |
| DirtyPrintStreamDecorator |
Decorator of PrintStreams that tracks whether or not that stream has been written to.
|
| Discardable<T> |
Discardable is a simple class that just holds some instance of a type and has a discard() that
disables access to the instance.
|
| DuplicatingConsole |
Manages a Duplicate Console so that console actions can be replicated across to another console.
|
| ErrorLogger | |
| ErrorLogger.DeconstructedException |
The result of exception "deconstruction".
|
| Escaper | |
| ForwardingProcessListener | |
| ImmutableMapWithNullValues<K,V> |
ImmutableMap uses 16 fewer bytes per entry than TreeMap, but does not
allow null values. |
| ImmutableMapWithNullValues.Builder<K,V> | |
| InputStreamConsumer |
An utility to process input stream with a list of line-by-line consumers
|
| LenientBooleanJsonDeserializer |
JSON deserializer which converts boolean, numeric, and string values into booleans.
|
| Libc.Constants | |
| LineFetcher | |
| ListeningCharsetDecoder | |
| ListeningCharsetEncoder | |
| ListeningProcessExecutor |
Replacement for
ProcessBuilder which provides an asynchronous callback interface to
notify the caller on a background thread when a process starts, performs I/O, or exits. |
| Memoizer<T> |
Memoizes a value, supporting passing in a supplier when getting the value, unlike
MoreSuppliers.MemoizingSupplier. |
| MoreExceptions | |
| MoreFunctions |
Utilities to work with
Function. |
| MoreIterables | |
| MoreMaps | |
| MoreSuppliers | |
| MoreThrowables | |
| NamedTemporaryDirectory |
Creates a temporary directory that is (recursively) deleted when this object is closed.
|
| NamedTemporaryFile |
Creates a temporary file that is deleted when this object is closed.
|
| ObjectFileCommonModificationDate | |
| PatternAndMessage |
A class that holds a pattern and a message related to this pattern.
|
| PatternsMatcher |
Helper class that keeps a list of compiled patterns and provides a method to check whether a
string matches at least one of them.
|
| PkillProcessManager |
Checks for and kills processes by name.
|
| PrintStreamProcessExecutorFactory | |
| ProcessExecutor.LaunchedProcessImpl |
Wraps a
Process and exposes only its I/O streams, so callers have to pass it back to
this class. |
| ProcessExecutor.Result |
Values from the result of
ProcessExecutor.launchAndExecute(ProcessExecutorParams, Set,
Optional, Optional, Optional). |
| ProcessExecutorParams |
Value type passed to
ProcessExecutor to launch a process. |
| ProcessExecutorParams.Builder | |
| ProcessHelper |
A helper singleton that provides facilities such as extracting the native process id of a
Process or gathering the process resource consumption. |
| ProcessRegistry |
A singleton helper class for process registration.
|
| ProcessResourceConsumption |
Represents resource consumption counters of a
Process. |
| Statistics |
A crappy version of
org.apache.commons.math3.stat.descriptive.SummaryStatistics. |
| TeeOutputStream |
An OutputStream which forwards to two OutputStreams.
|
| Threads | |
| ThrowingCloseableMemoizedSupplier<T,E extends Exception> |
Convenience wrapper class to attach closeable functionality to suppliers of resources to be
closed.
|
| ThrowingCloseableWrapper<T,E extends Exception> |
Convenience wrapper class to attach closeable functionality to non-closeable class so it can be
used with try-with-resources to make sure resources are always released and proper exception
suppression is used.
|
| ThrowingMemoizer<T,E extends Exception> |
Memoizes a value or an exception when computing it, supporting passing in a throwing supplier
when getting the value, unlike
MoreSuppliers.MemoizingSupplier. |
| ThrowingPrintWriter |
A (partial) replacement for
PrintWriter with methods that throw IOException. |
| TimeFormat | |
| Types | |
| UnixUserIdFetcher |
Fetches the user ID of the running process.
|
| VersionStringComparator |
Compares version strings such as "4.2.2", "17.0", "r10e-rc4".
|
| WeakMemoizer<T> |
Memoizes a value with a weak reference, supporting passing in a supplier when getting the value,
unlike
MoreSuppliers.WeakMemoizingSupplier |
| ZipFileTraversal |
| Enum | Description |
|---|---|
| Ansi.SeverityLevel | |
| DependencyMode | |
| Escaper.Quoter |
The quoting style to use when escaping.
|
| ExitCode |
ExitCode class defines Buck binary protocol, i.e.
|
| ProcessExecutor.Option | |
| Verbosity |
An indication of how verbose Buck should be.
|
| Exception | Description |
|---|---|
| BuckIsDyingException |
Indicates that something could not be done because Buck was dying.
|
| CleanBuildShutdownException |
* Exception sent to BuildEngine to shut it down cleanly, i.e.
|
| CommandLineException |
Exception that is raised when user-supplied command line contains incompatible parameters or in
general cannot be executed
|