Skip navigation links
A B C D E F G H I K O P R S T V W 

A

acceptThrows(T) - Method in interface berlin.yuna.clu.model.ThrowingFunction
Performs this operation on the given argument.
addCommands(String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
addKV(String, String) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
apply(T) - Method in interface berlin.yuna.clu.model.ThrowingFunction
Deprecated.
ArgumentReader - Class in berlin.yuna.clu.logic
 
ArgumentReader(boolean, String...) - Constructor for class berlin.yuna.clu.logic.ArgumentReader
Parses a string arguments into key value

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 IllegalStateException on error when true

C

clearConsole() - Method in class berlin.yuna.clu.logic.Terminal
commandList - Variable in class berlin.yuna.clu.logic.ArgumentReader
 
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(String) - Method in class berlin.yuna.clu.logic.Terminal
 
dir(File) - Method in class berlin.yuna.clu.logic.Terminal
 
dir(Path) - Method in class berlin.yuna.clu.logic.Terminal
 

E

equals(Object) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
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

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.ArgumentReader
get
get(String, String) - Method in class berlin.yuna.clu.logic.ArgumentReader
get
getBoolean(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getBoolean
getBoolean(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getBoolean
getBoolean(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getBoolean
getBooleans(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getBoolean
getBooleans(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
getBoolean
getCommand() - Method in class berlin.yuna.clu.logic.ArgumentReader
get command
getCommand(int) - Method in class berlin.yuna.clu.logic.ArgumentReader
get command
getCommands() - Method in class berlin.yuna.clu.logic.ArgumentReader
get commands
getContains() - Method in enum berlin.yuna.clu.model.OsArch
 
getContains() - Method in enum berlin.yuna.clu.model.OsArchType
 
getDouble(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDouble
getDouble(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDouble
getDouble(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDouble
getDoubles(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDoubles
getDoubles(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDoubles
getDoubles(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
getDoubles
getLong(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
getLong(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getLong
getLong(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getLong
getLongs(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getLongs
getLongs(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getLongs
getLongs(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
getLongs
getPrefix() - Method in enum berlin.yuna.clu.model.OsType
 
getString(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getString
getString(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getString
getString(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getString
getStrings(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getStrings
getStrings(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getStrings
getStrings(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
getStrings
getStripedValue(String) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
getValue(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
getValue
getValues(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
 

H

hasCommand(String) - Method in class berlin.yuna.clu.logic.ArgumentReader
has command
hashCode() - Method in class berlin.yuna.clu.logic.ArgumentReader
 

I

isPresent(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
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_ARCH - Static variable in class berlin.yuna.clu.logic.SystemUtil
 
OS_ARCH_TYPE - Static variable in class berlin.yuna.clu.logic.SystemUtil
 
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

parseArgs(String...) - Static method in class berlin.yuna.clu.logic.ArgumentReader
Parses a string arguments into key values
example: [mvn clean install --Dencoding="UTF-8", --javaVersion 8 -v=true --args=1,2,3]
example (commands): [mvn, clean, install]
example (kv): [Dencoding=UTF-8, javaVersion=8, v=true, args=1,2,3]
See:
ArgumentReader.getString(String, int, String...)
ArgumentReader.getLong(String, int, String...)
ArgumentReader.getDouble(String, int, String...)
ArgumentReader.getValue(String, int, String...)
ArgumentReader.get(String, String)
ArgumentReader.getCommands()
ArgumentReader.hasCommand(String)
parseArgs(boolean, String...) - Static method in class berlin.yuna.clu.logic.ArgumentReader
Parses a string arguments into key values
example: [mvn clean install --Dencoding="UTF-8", --javaVersion 8 -v=true --args=1,2,3]
example (commands): [mvn, clean, install]
example (kv): [Dencoding=UTF-8, javaVersion=8, v=true, args=1,2,3]
See:
ArgumentReader.getString(String, int, String...)
ArgumentReader.getLong(String, int, String...)
ArgumentReader.getDouble(String, int, String...)
ArgumentReader.getValue(String, int, String...)
ArgumentReader.get(String, String)
ArgumentReader.getCommands()
ArgumentReader.hasCommand(String)
parseCommandLine(String) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
parseCommands(String) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
parseEnvironment() - Method in class berlin.yuna.clu.logic.ArgumentReader
 
parseToKeyValue(String) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
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
removeDuplicates(List<String>) - Method in class berlin.yuna.clu.logic.ArgumentReader
 
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 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
TMP_DIR - Static variable in class berlin.yuna.clu.logic.SystemUtil
 
toBoolean() - Method in class berlin.yuna.clu.logic.ArgumentReader
 
toDouble() - Method in class berlin.yuna.clu.logic.ArgumentReader
 
toLong() - Method in class berlin.yuna.clu.logic.ArgumentReader
 
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
 
A B C D E F G H I K O P R S T V W 
Skip navigation links

Copyright © 2022. All rights reserved.