A B C D E G I K L M P R S T U V W 
All Classes All Packages

A

ARM - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 

B

berlin.yuna.clu.logic - package berlin.yuna.clu.logic
 
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 IllegalStateException on error when true

C

clearConsole() - Method in class berlin.yuna.clu.logic.Terminal
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 ProcessBuilder Default working directory: user.dir Terminal.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 ProcessBuilder Default working directory: user.dir Terminal.timeoutMs(long) if timeout is needed

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
getOsType() - Static method in class berlin.yuna.clu.logic.SystemUtil
Get current operating system
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

isArm() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()
isLinux() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()
isMac() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()
isPresent(String) - Method in class berlin.yuna.clu.logic.CommandLineReader
IgnoreCase isPresent
isSolaris() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()
isUnknown() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()
isWindows() - Static method in class berlin.yuna.clu.logic.SystemUtil
Checks operating system with SystemUtil.getOsType()

K

killProcessByName(String) - Static method in class berlin.yuna.clu.logic.SystemUtil
kills processes by name

L

LINUX - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 

M

MAC - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 

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)
SOLARIS - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 
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
 
SystemUtil.OperatingSystem - Enum in berlin.yuna.clu.logic
Supported operation system enum

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
 
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 for Process.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

U

UNKNOWN - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 

V

valueOf(String) - Static method in enum berlin.yuna.clu.logic.SystemUtil.OperatingSystem
Returns the enum constant of this type with the specified name.
values() - Static method in enum berlin.yuna.clu.logic.SystemUtil.OperatingSystem
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
 
WINDOWS - berlin.yuna.clu.logic.SystemUtil.OperatingSystem
 
A B C D E G I K L M P R S T U V W 
All Classes All Packages