Index

A C G I O P R S 
All Classes and Interfaces|All Packages

A

addArg(String) - Method in class one.jpro.platform.internal.util.CommandRunner
Adds a command line argument to the list of existing list of command line arguments
addArgs(String...) - Method in class one.jpro.platform.internal.util.CommandRunner
Adds a varargs list of arguments to the existing list of command line of arguments
addArgs(Collection<String>) - Method in class one.jpro.platform.internal.util.CommandRunner
Adds a collection of arguments to the existing list of command line of arguments
addSecretArg(String) - Method in class one.jpro.platform.internal.util.CommandRunner
Adds a command line argument to the list of existing list of command line arguments, marking it as secret argument, in order to avoid logging
addToEnv(String, String) - Method in class one.jpro.platform.internal.util.CommandRunner
Adds a pair (key, value) to the environment map of the process.

C

CommandRunner - Class in one.jpro.platform.internal.util
Run processes based on command line arguments.
CommandRunner(String...) - Constructor for class one.jpro.platform.internal.util.CommandRunner
Initializes CommandRunner with default logger and command line arguments.
CommandRunner(Logger, String...) - Constructor for class one.jpro.platform.internal.util.CommandRunner
Initializes CommandRunner with specified logger and command line arguments.

G

getCmd() - Method in class one.jpro.platform.internal.util.CommandRunner
 
getCmdList() - Method in class one.jpro.platform.internal.util.CommandRunner
 
getLastResponse() - Method in class one.jpro.platform.internal.util.CommandRunner
Gets the last line of the output process.
getResponse() - Method in class one.jpro.platform.internal.util.CommandRunner
Gets the response of the process as single string.
getResponses() - Method in class one.jpro.platform.internal.util.CommandRunner
Gets the response of the process as list of lines.

I

isAarch64() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the operating system architecture is arm64 (aarch64).
isAndroid() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the platform is Android.
isDesktop() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Checks if the current system is a desktop platform.
isEmbedded() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the platform is embedded.
isIOS() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the operating system is iOS.
isLinux() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the operating system is a form of Linux.
isMac() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the operating system is a form of macOS.
isWindows() - Static method in class one.jpro.platform.internal.util.PlatformUtils
Returns true if the operating system is a form of Windows.

O

one.jpro.platform.internal.util - module one.jpro.platform.internal.util
The module descriptor for the internal Process module.
one.jpro.platform.internal.util - package one.jpro.platform.internal.util
 

P

PlatformUtils - Class in one.jpro.platform.internal.util
Platform utilities.
PlatformUtils() - Constructor for class one.jpro.platform.internal.util.PlatformUtils
 

R

run(String) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process with a given set of command line arguments.
run(String, File) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process with a given set of command line arguments, in a given working directory.
runAsync(String) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process asynchronously with a given set of command line arguments.
runAsync(String, boolean) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process asynchronously with a given set of command line arguments.
runAsync(String, File) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process asynchronously with a given set of command line arguments, in a given working directory.
runAsync(String, File, boolean) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process asynchronously with a given set of command line arguments, in a given working directory.
runTimed(String, long) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process with a given set of command line arguments within a given time frame.
runTimed(String, File, long) - Method in class one.jpro.platform.internal.util.CommandRunner
Runs a process with a given set of command line arguments, in a given working directory, within a given time frame

S

setInteractive(boolean) - Method in class one.jpro.platform.internal.util.CommandRunner
When set to true, it will enable user interaction during the process.
setPrintToConsole(boolean) - Method in class one.jpro.platform.internal.util.CommandRunner
When set to true, it will enable the process output to be printed to the console.
A C G I O P R S 
All Classes and Interfaces|All Packages