Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- allEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif the value and all nested elements/entries are empty. - allNotEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif the value and all nested elements/entries are not empty. - anyEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif the value, or any of its direct elements/entries, is empty. - anyNotEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif the value, or any of its direct elements/entries, is not empty. - arch() - Static method in class rife.bld.extension.tools.SystemTools
-
Returns the normalized system architecture string.
C
- canExecute(File) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the specified file exists, is a file, and is executable.
- canExecute(String) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the file at the specified path string exists, is a regular file, and is executable.
- canExecute(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the specified path exists, is a regular file, and is executable.
- CollectionTools - Class in rife.bld.extension.tools
-
Collection Tools.
- combine(Collection<T>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple collections into a single list, ignoring any
nullcollections, empty collections, ornullelements. - combine(T...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines varargs elements into a single list, ignoring any
nullelements. - combineFilesToPaths(File...) - Static method in class rife.bld.extension.tools.CollectionTools
- combineFilesToPaths(Collection<File>...) - Static method in class rife.bld.extension.tools.CollectionTools
- combineFilesToStrings(File...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines varargs
Fileelements into a list of normalized absolute path strings. - combineFilesToStrings(Collection<File>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple
Filecollections into a list of normalized absolute path strings. - combinePathsToFiles(Path...) - Static method in class rife.bld.extension.tools.CollectionTools
- combinePathsToFiles(Collection<Path>...) - Static method in class rife.bld.extension.tools.CollectionTools
- combinePathsToStrings(Path...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines varargs
Pathelements into a list of normalized absolute path strings. - combinePathsToStrings(Collection<Path>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple
Pathcollections into a list of normalized absolute path strings. - combineStringsToFiles(String...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines varargs string elements into a list of
Fileobjects. - combineStringsToFiles(Collection<String>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple string collections into a list of
Fileobjects. - combineStringsToPaths(String...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines varargs string elements into a list of
Pathobjects. - combineStringsToPaths(Collection<String>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple string collections into a list of
Pathobjects. - command() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Returns the mutable command and arguments list.
- command(String...) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Sets the command and arguments to be executed, replacing any previously configured command.
- command(Collection<String>) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Sets the command and arguments to be executed, replacing any previously configured command.
- createDirs(File) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory named by the given file, including any nonexistent parent directories.
- createDirs(String) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory named by the given path string, including any nonexistent parent directories.
- createDirs(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory named by the given path, including any nonexistent parent directories.
D
- DEFAULT_TIMEOUT_SECONDS - Static variable in class rife.bld.extension.tools.ProcessExecutor
-
Default timeout in seconds.
- downloadDependencies(List<Dependency>, List<Repository>) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads the given dependencies using the provided repositories and a default
VersionResolution. - downloadDependencies(List<Dependency>, List<Repository>, File) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads dependencies into the sandbox, optionally under a subdirectory specified as a
File. - downloadDependencies(List<Dependency>, List<Repository>, Path) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads dependencies into the sandbox, optionally under a subdirectory.
- downloadDependencies(List<Dependency>, List<Repository>, VersionResolution) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads the given dependencies using the provided repositories and version resolution.
- downloadDependencies(List<Dependency>, List<Repository>, VersionResolution, File) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads the given dependencies using the provided repositories and version resolution into an optional subdirectory specified as a
File. - downloadDependencies(List<Dependency>, List<Repository>, VersionResolution, Path) - Method in class rife.bld.extension.tools.Sandbox
-
Downloads dependencies into the sandbox, optionally under a subdirectory.
E
- env() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Returns the mutable environment variables map.
- env(String, String) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Adds an environment variable for the command.
- env(Map<String, String>) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Adds environment variables for the command.
- equals(Object) - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Indicates whether some other object is "equal to" this one.
- equalsIgnoreWhitespace(CharSequence...) - Static method in class rife.bld.extension.tools.TextTools
-
Compares two or more character sequences by removing all whitespace.
- execute() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Executes the command and returns the result.
- exists(File) - Static method in class rife.bld.extension.tools.IOTools
-
Checks if the specified file exists.
- exists(String) - Static method in class rife.bld.extension.tools.IOTools
-
Checks whether a file or directory exists at the specified path.
- exists(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Checks if the specified path exists.
- exitCode() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns the value of the
exitCoderecord component.
F
- findFilesByExtensions(Path, String...) - Static method in class rife.bld.extension.tools.IOTools
-
Finds regular files located directly in
directorywhose file name ends with one of the given extensions (case-insensitive). - formatCommandLine(Collection<String>) - Static method in class rife.bld.extension.tools.PathTools
-
Formats a collection of command-line arguments into a single string suitable for logging and safe copy/paste into a POSIX-compatible shell.
G
- getSandboxDirectory() - Method in class rife.bld.extension.tools.Sandbox
-
Returns the root sandbox directory.
- getSandboxDirectoryAsFile() - Method in class rife.bld.extension.tools.Sandbox
-
Returns the root sandbox directory as a
File. - getSandboxExtensionDirectory() - Method in class rife.bld.extension.tools.Sandbox
-
Returns the extension-specific sandbox directory.
- getSandboxExtensionDirectoryAsFile() - Method in class rife.bld.extension.tools.Sandbox
-
Returns the extension-specific sandbox directory as a
File.
H
- hashCode() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns a hash code value for this object.
I
- inheritIO() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Returns whether the child process inherits the I/O streams of the current JVM.
- inheritIO(boolean) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configures whether the child process should inherit the I/O streams of the current JVM.
- IOTools - Class in rife.bld.extension.tools
-
I/O Tools.
- isAix() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is AIX.
- isArm() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is any ARM variant.
- isArm32() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is ARM 32-bit.
- isArm64() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is ARM 64-bit.
- isBlank(CharSequence) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if a character sequence is
null, empty, or contains only whitespace characters. - isBlank(CharSequence...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all character sequences are
null, empty, or contain only whitespace characters. - isBlank(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all objects are
null, empty, or contain only whitespace characters. - isCygwin() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current environment is running in a Cygwin environment.
- isDirectory(File) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the specified
Fileis a directory. - isDirectory(String) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the specified path string represents an existing directory.
- isDirectory(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Determines if the specified
Pathrepresents an existing directory. - isEmpty(CharSequence) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if a character sequence is
nullor empty. - isEmpty(CharSequence...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all character sequences are
nullor empty. - isEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Determines whether the given
valueisnullor empty. - isEmpty(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all objects are
nullor their string representations are empty. - isFreeBsd() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is FreeBSD.
- isLinux() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is Linux.
- isMacOS() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is macOS.
- isMinGw() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current environment is running in a MinGW/MSYS2 environment.
- isNotBlank(CharSequence) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if a character sequence is not
null, not empty, and not whitespace-only. - isNotBlank(CharSequence...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all character sequences are not
null, not empty, and not whitespace-only. - isNotBlank(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all objects are not
null, not empty, and not whitespace-only. - isNotEmpty(CharSequence) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if a character sequence is not
nulland not empty. - isNotEmpty(CharSequence...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all character sequences are not
nulland not empty. - isNotEmpty(Object) - Static method in class rife.bld.extension.tools.ObjectTools
-
Determines whether the given
valueis notnulland not empty. - isNotEmpty(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all objects are not
nulland their string representations are not empty. - isOpenVms() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is OpenVMS.
- isOtherOs() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is other than AIX, FreeBSD, Linux, macOS, OpenVMS, Solaris, or Windows.
- isSolaris() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is Solaris.
- isSuccess() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns true if the process exited with code 0 and did not time out.
- isWindows() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current operating system is Windows.
- isWsl() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current environment is Windows Subsystem for Linux.
- isX64() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is x86 64-bit.
- isX86() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is x86 32-bit.
- isX86Family() - Static method in class rife.bld.extension.tools.SystemTools
-
Determines if the current system architecture is any x86 variant.
J
- joinClasspath() - Static method in class rife.bld.extension.tools.PathTools
-
Returns an empty classpath string.
- joinClasspath(File...) - Static method in class rife.bld.extension.tools.PathTools
-
Joins multiple files into a single classpath string using the system's path separator.
- joinClasspath(String...) - Static method in class rife.bld.extension.tools.PathTools
-
Joins string paths into a single classpath by concatenating non-blank paths using the system's path separator.
- joinClasspath(Path...) - Static method in class rife.bld.extension.tools.PathTools
-
Joins multiple paths into a single classpath string using the system's path separator.
- joinClasspath(Collection<Path>) - Static method in class rife.bld.extension.tools.PathTools
-
Joins a collection of paths into a single classpath string using the system's path separator.
- joinClasspath(Collection<File>...) - Static method in class rife.bld.extension.tools.PathTools
-
Joins multiple collections of files into a single classpath string using the system's path separator.
M
- mkdirs(File) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory specified by the given file, including any nonexistent parent directories as necessary.
- mkdirs(String) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory specified by the given path string, including any nonexistent parent directories as necessary.
- mkdirs(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Creates the directory specified by the given path, including any nonexistent parent directories as necessary.
N
- notExists(File) - Static method in class rife.bld.extension.tools.IOTools
-
Checks if the specified file does not exist.
- notExists(String) - Static method in class rife.bld.extension.tools.IOTools
-
Checks whether a file or directory does not exist at the specified path.
- notExists(Path) - Static method in class rife.bld.extension.tools.IOTools
-
Checks if the specified path does not exist.
O
- ObjectTools - Class in rife.bld.extension.tools
-
Object Tools.
- output() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns the value of the
outputrecord component. - outputConsumer(Consumer<String>) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Sets a consumer to receive output lines as they arrive.
P
- PathTools - Class in rife.bld.extension.tools
-
Path Tools.
- ProcessExecutor - Class in rife.bld.extension.tools
-
Generic process executor with timeout, I/O control, and output capture.
- ProcessExecutor() - Constructor for class rife.bld.extension.tools.ProcessExecutor
- ProcessExecutor.ProcessResult - Record Class in rife.bld.extension.tools
-
Result of a process execution.
- ProcessResult(int, String, boolean) - Constructor for record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Creates an instance of a
ProcessResultrecord class.
R
- requireContext(String) - Static method in class rife.bld.extension.tools.internal.ToolsSupport
-
Validates that a context string is not
null, empty, or whitespace-only. - requireEmpty(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be empty (and, for containers, every element/entry to be empty).
- requireEmpty(T, Supplier<String>) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be empty.
- requireMessage(String) - Static method in class rife.bld.extension.tools.internal.ToolsSupport
-
Validates that a message string is not
null, empty, or whitespace-only. - requireNegative(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is strictly negative.
- requireNegative(T, Supplier<String>) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is strictly negative.
- requireNonNegative(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is non-negative.
- requireNonNegative(T, Supplier<String>) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is non-negative.
- requireNonNull(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be not
null, and all elements/entries to be notnull. - requireNonNull(T, Supplier<String>) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be not
null, and all elements/entries to be notnull. - requireNotBlank(String, T...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified varargs array of character sequences is not
null, not empty, and contains nonull, empty, or whitespace-only elements. - requireNotBlank(Supplier<String>, Supplier<String>, T...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified varargs array of character sequences is not
null, not empty, and contains nonull, empty, or whitespace-only elements. - requireNotBlank(Collection<T>, String) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified collection of character sequences is not
null, not empty, and contains nonull, empty, or whitespace-only elements. - requireNotBlank(Collection<T>, Supplier<String>, Supplier<String>) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified collection of character sequences is not
null, not empty, and contains nonull, empty, or whitespace-only elements. - requireNotBlank(T, String) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified character sequence is not
null, not empty, and not whitespace-only. - requireNotBlank(T, Supplier<String>, Supplier<String>) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified character sequence is not
null, not empty, and not whitespace-only. - requireNotEmpty(String, T...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified varargs array of character sequences is not
null, not empty, and contains nonullor empty elements. - requireNotEmpty(Supplier<String>, Supplier<String>, T...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified varargs array of character sequences is not
null, not empty, and contains nonullor empty elements. - requireNotEmpty(Collection<T>, String) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified collection of character sequences is not
null, not empty, and contains nonullor empty elements. - requireNotEmpty(Collection<T>, Supplier<String>, Supplier<String>) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified collection of character sequences is not
null, not empty, and contains nonullor empty elements. - requireNotEmpty(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be not
nulland not empty (and, for containers, every element/entry to be notnulland not empty). - requireNotEmpty(T, String) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified character sequence is not
nulland not empty. - requireNotEmpty(T, String, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the value to be not
nulland not empty. - requireNotEmpty(T, Supplier<String>, Supplier<String>) - Static method in class rife.bld.extension.tools.TextTools
-
Checks that the specified character sequence is not
nulland not empty. - requirePositive(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is strictly positive.
- requirePositive(T, Supplier<String>) - Static method in class rife.bld.extension.tools.ObjectTools
-
Checks that the specified value is strictly positive.
- resolveFile(File, String...) - Static method in class rife.bld.extension.tools.IOTools
-
Resolves a file path by joining a base file with additional path segments.
- rife.bld.extension.tools - package rife.bld.extension.tools
-
Provides a collection of tools used by various bld Extensions.
- rife.bld.extension.tools.internal - package rife.bld.extension.tools.internal
-
Internal utilities.
S
- Sandbox - Class in rife.bld.extension.tools
-
Manages an isolated, per-extension sandbox for downloading dependencies, rooted at
lib/bld/.sandbox/<extensionName>. - Sandbox(String, BaseProject) - Constructor for class rife.bld.extension.tools.Sandbox
-
Creates a new sandbox manager for the given extension.
- SystemTools - Class in rife.bld.extension.tools
-
Utility methods for detecting the current operating system, architecture, and related execution environments.
T
- TextTools - Class in rife.bld.extension.tools
-
Utility methods for working with text and character sequences.
- timedOut() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns the value of the
timedOutrecord component. - timeout() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Returns the command timeout in seconds.
- timeout(long) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configure the command timeout in seconds.
- ToolsSupport - Class in rife.bld.extension.tools.internal
-
Internal support utilities shared across tool classes.
- toString() - Method in record class rife.bld.extension.tools.ProcessExecutor.ProcessResult
-
Returns a string representation of this record class.
W
- workDir() - Method in class rife.bld.extension.tools.ProcessExecutor
-
Returns the working directory.
- workDir(File) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configures the working directory.
- workDir(String) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configures the working directory.
- workDir(Path) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configures the working directory.
All Classes and Interfaces|All Packages|Constant Field Values