Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- allEmpty(Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif all provided values are empty. - allNotEmpty(Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif all provided values are not empty. - anyNotEmpty(Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Returns
trueif at least one of the provided values is not empty.
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.
- ClasspathTools - Class in rife.bld.extension.tools
-
Classpath Tools.
- 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 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 absolute path strings. - combinePathsToStrings(Collection<Path>...) - Static method in class rife.bld.extension.tools.CollectionTools
-
Combines multiple
Pathcollections into a list of 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.
- COMMAND_NOT_VALID - Static variable in class rife.bld.extension.tools.ProcessExecutor
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.
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.
- 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 string 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 value is
nullor empty. - isEmpty(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all string 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 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 string 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 value is not
nulland not empty. - isNotEmpty(Object...) - Static method in class rife.bld.extension.tools.TextTools
-
Checks if all string 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.
J
- joinClasspath(String...) - Static method in class rife.bld.extension.tools.ClasspathTools
-
Joins string paths into a single classpath by concatenating non-blank paths using the system's path separator.
- joinClasspath(Collection<File>...) - Static method in class rife.bld.extension.tools.ClasspathTools
-
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 named by the specified
File, including any necessary but nonexistent parent directories. - 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
- 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
- requireAllEmpty(Object[], String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided values to be empty.
- requireAllEmpty(Object[], String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided values to be empty.
- requireAllEmpty(Collection<?>, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided collection elements to be empty.
- requireAllEmpty(Collection<?>, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided collection elements to be empty.
- requireAllEmpty(Map<?, ?>, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all values in the provided map to be empty.
- requireAllEmpty(Map<?, ?>, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all values in the provided map to be empty.
- requireAllNotEmpty(Object[], String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided values to be not empty.
- requireAllNotEmpty(Object[], String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided values to be not empty.
- requireAllNotEmpty(Collection<?>, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided collection elements to be not empty.
- requireAllNotEmpty(Collection<?>, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires all provided collection elements to be not empty.
- requireAllNotEmpty(Map<?, ?>, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the provided map to be not empty, and all of its values to be not empty.
- requireAllNotEmpty(Map<?, ?>, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the provided map to be not empty, and all of its values to be not empty.
- requireEmpty(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the given value to be empty.
- requireEmpty(T, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the given value to be empty.
- requireNotEmpty(T, String) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the given value to be not empty.
- requireNotEmpty(T, String, Object...) - Static method in class rife.bld.extension.tools.ObjectTools
-
Requires the given value to be not empty.
- 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.
S
- SystemTools - Class in rife.bld.extension.tools
-
Utility methods for detecting the current operating system 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(int) - Method in class rife.bld.extension.tools.ProcessExecutor
-
Configure the command timeout in seconds.
- 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