A B C D E F G I K O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptThrows(T) - Method in interface berlin.yuna.clu.model.ThrowingFunction
-
Performs this operation on the given argument.
- apply(T) - Method in interface berlin.yuna.clu.model.ThrowingFunction
-
Deprecated.
- ARCH_AMD - berlin.yuna.clu.model.OsArch
- ARCH_ARM - berlin.yuna.clu.model.OsArch
- ARCH_INTEL - berlin.yuna.clu.model.OsArch
- ARCH_PPC - berlin.yuna.clu.model.OsArch
- ARCH_UNKNOWN - berlin.yuna.clu.model.OsArch
- AT_6 - berlin.yuna.clu.model.OsArchType
- AT_64 - berlin.yuna.clu.model.OsArchType
- AT_7 - berlin.yuna.clu.model.OsArchType
- AT_86 - berlin.yuna.clu.model.OsArchType
- AT_PPC - berlin.yuna.clu.model.OsArchType
- AT_UNKNOWN - berlin.yuna.clu.model.OsArchType
B
- berlin.yuna.clu.logic - package berlin.yuna.clu.logic
- berlin.yuna.clu.model - package berlin.yuna.clu.model
- berlin.yuna.clu.model.exception - package berlin.yuna.clu.model.exception
- berlin.yuna.clu.util - package berlin.yuna.clu.util
- breakOnError() - Method in class berlin.yuna.clu.logic.Terminal
- breakOnError(boolean) - Method in class berlin.yuna.clu.logic.Terminal
-
Will throw
IllegalStateExceptionon error when true
C
- clearConsole() - Method in class berlin.yuna.clu.logic.Terminal
-
Clears the console output
Terminal.consoleInfo()Terminal.consoleError() - CommandLineReader - Class in berlin.yuna.clu.logic
- CommandLineReader(String...) - Constructor for class berlin.yuna.clu.logic.CommandLineReader
-
Parses a string arguments into key value
- CommandOutput() - Constructor for class berlin.yuna.clu.logic.Terminal.CommandOutput
- consoleError() - Method in class berlin.yuna.clu.logic.Terminal
- consoleInfo() - Method in class berlin.yuna.clu.logic.Terminal
- consumerError(Consumer<String>...) - Method in class berlin.yuna.clu.logic.Terminal
- consumerErrorStream(Consumer<String>...) - Method in class berlin.yuna.clu.logic.Terminal
- consumerInfo(Consumer<String>...) - Method in class berlin.yuna.clu.logic.Terminal
- consumerInfoStream(Consumer<String>...) - Method in class berlin.yuna.clu.logic.Terminal
- copyOf(Terminal) - Static method in class berlin.yuna.clu.logic.Terminal
-
Clean copy of terminal with default consumer and clean console log
- copyResourceToTemp(Class<?>, String) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
Copies a source file to temp path as the resources are not accessible/executable
- countTerminalMessages() - Method in class berlin.yuna.clu.logic.Terminal
D
- deleteDirectory(Path) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
Deletes silent a directory
- dir() - Method in class berlin.yuna.clu.logic.Terminal
- dir(File) - Method in class berlin.yuna.clu.logic.Terminal
- dir(String) - Method in class berlin.yuna.clu.logic.Terminal
- dir(Path) - Method in class berlin.yuna.clu.logic.Terminal
E
- execute(String) - Method in class berlin.yuna.clu.logic.Terminal
-
Executes a command with (sh or cmd.exe) ant he help of the
ProcessBuilderDefault working directory: user.dirTerminal.timeoutMs(long)if timeout is needed - execute(String, long) - Method in class berlin.yuna.clu.logic.Terminal
-
Executes a command with (sh or cmd.exe) ant he help of the
ProcessBuilderDefault working directory: user.dirTerminal.timeoutMs(long)if timeout is needed
F
- FileCopyException - Exception in berlin.yuna.clu.model.exception
- FileCopyException(String, Throwable) - Constructor for exception berlin.yuna.clu.model.exception.FileCopyException
- FileNotReadableException - Exception in berlin.yuna.clu.model.exception
- FileNotReadableException(String, Throwable) - Constructor for exception berlin.yuna.clu.model.exception.FileNotReadableException
G
- get(String) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
IgnoreCase get
- getCommand() - Method in class berlin.yuna.clu.logic.CommandLineReader
-
get command
- getCommand(int) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
get command
- getContains() - Method in enum berlin.yuna.clu.model.OsArch
- getContains() - Method in enum berlin.yuna.clu.model.OsArchType
- getPrefix() - Method in enum berlin.yuna.clu.model.OsType
- getValue(int, String...) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
IgnoreCase getValue
- getValue(String...) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
IgnoreCase getValue
- getValues(String...) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
IgnoreCase getValue
I
- isPresent(String) - Method in class berlin.yuna.clu.logic.CommandLineReader
-
IgnoreCase isPresent
- isUnix() - Method in enum berlin.yuna.clu.model.OsType
K
- killProcessByName(String) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
kills processes by name
O
- of(String) - Static method in enum berlin.yuna.clu.model.OsArch
- of(String) - Static method in enum berlin.yuna.clu.model.OsArchType
- of(String) - Static method in enum berlin.yuna.clu.model.OsType
- OS - Static variable in class berlin.yuna.clu.logic.SystemUtil
- OS_2 - berlin.yuna.clu.model.OsType
- OS_400 - berlin.yuna.clu.model.OsType
- OS_AIX - berlin.yuna.clu.model.OsType
- OS_ARCH - Static variable in class berlin.yuna.clu.logic.SystemUtil
- OS_ARCH_TYPE - Static variable in class berlin.yuna.clu.logic.SystemUtil
- OS_DARWIN - berlin.yuna.clu.model.OsType
- OS_FREE_BSD - berlin.yuna.clu.model.OsType
- OS_HP_UX - berlin.yuna.clu.model.OsType
- OS_IRIX - berlin.yuna.clu.model.OsType
- OS_LINUX - berlin.yuna.clu.model.OsType
- OS_MIPS - berlin.yuna.clu.model.OsType
- OS_NET_BSD - berlin.yuna.clu.model.OsType
- OS_OPEN_BSD - berlin.yuna.clu.model.OsType
- OS_SOLARIS - berlin.yuna.clu.model.OsType
- OS_SUN - berlin.yuna.clu.model.OsType
- OS_UNKNOWN - berlin.yuna.clu.model.OsType
- OS_WINDOWS - berlin.yuna.clu.model.OsType
- OS_ZOS - berlin.yuna.clu.model.OsType
- OsArch - Enum in berlin.yuna.clu.model
- OsArchType - Enum in berlin.yuna.clu.model
- osCase(String, int) - Static method in enum berlin.yuna.clu.model.OsType
- OsType - Enum in berlin.yuna.clu.model
P
- process() - Method in class berlin.yuna.clu.logic.Terminal
- process(String) - Method in class berlin.yuna.clu.logic.Terminal
-
Executes a command with (sh or cmd.exe) with the help of the
ProcessBuilder
R
- readFile(Path) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
Reads in a whole file
- readFileLines(Path) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
Reads in a whole file
- run() - Method in class berlin.yuna.clu.util.StreamGobbler
S
- setFilePermissions(Path, PosixFilePermission...) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
Sets silent file permissions (PosixFilePermissions will be mapped to filePermissions as windows doesn't understand posix)
- status() - Method in class berlin.yuna.clu.logic.Terminal
- StreamGobbler - Class in berlin.yuna.clu.util
- StreamGobbler(InputStream, List<Consumer<String>>) - Constructor for class berlin.yuna.clu.util.StreamGobbler
- SystemUtil - Class in berlin.yuna.clu.logic
- SystemUtil() - Constructor for class berlin.yuna.clu.logic.SystemUtil
T
- Terminal - Class in berlin.yuna.clu.logic
- Terminal() - Constructor for class berlin.yuna.clu.logic.Terminal
- Terminal.CommandOutput - Class in berlin.yuna.clu.logic
- TerminalExecutionException - Exception in berlin.yuna.clu.model.exception
- TerminalExecutionException(String) - Constructor for exception berlin.yuna.clu.model.exception.TerminalExecutionException
- TerminalExecutionException(String, Throwable) - Constructor for exception berlin.yuna.clu.model.exception.TerminalExecutionException
- ThrowingFunction<T,R> - Interface in berlin.yuna.clu.model
- timeoutMs() - Method in class berlin.yuna.clu.logic.Terminal
- timeoutMs(long) - Method in class berlin.yuna.clu.logic.Terminal
-
Alternative to
Process.waitFor()as sometimes a process can be to fast or to slow forProcess.waitFor()or you need a timeout Its combined with (Terminal.breakOnError(boolean)) Default : -1 (deactivated) Also activates a heartbeat check (timeoutMs / 40) which will also timeout if there is no output is happening - TMP_DIR - Static variable in class berlin.yuna.clu.logic.SystemUtil
- toString() - Method in enum berlin.yuna.clu.model.OsArch
- toString() - Method in enum berlin.yuna.clu.model.OsArchType
- toString() - Method in enum berlin.yuna.clu.model.OsType
V
- valueOf(String) - Static method in enum berlin.yuna.clu.model.OsArch
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum berlin.yuna.clu.model.OsArchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum berlin.yuna.clu.model.OsType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum berlin.yuna.clu.model.OsArch
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum berlin.yuna.clu.model.OsArchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum berlin.yuna.clu.model.OsType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- waitFor() - Method in class berlin.yuna.clu.logic.Terminal
- waitFor(long) - Method in class berlin.yuna.clu.logic.Terminal
All Classes All Packages