Index
All Classes and Interfaces|All Packages|Serialized Form
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.
- ARCH_AMD - Enum constant in enum class berlin.yuna.clu.model.OsArch
- ARCH_ARM - Enum constant in enum class berlin.yuna.clu.model.OsArch
- ARCH_INTEL - Enum constant in enum class berlin.yuna.clu.model.OsArch
- ARCH_PPC - Enum constant in enum class berlin.yuna.clu.model.OsArch
- ARCH_UNKNOWN - Enum constant in enum class berlin.yuna.clu.model.OsArch
- 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
- AT_6 - Enum constant in enum class berlin.yuna.clu.model.OsArchType
- AT_64 - Enum constant in enum class berlin.yuna.clu.model.OsArchType
- AT_7 - Enum constant in enum class berlin.yuna.clu.model.OsArchType
- AT_86 - Enum constant in enum class berlin.yuna.clu.model.OsArchType
- AT_PPC - Enum constant in enum class berlin.yuna.clu.model.OsArchType
- AT_UNKNOWN - Enum constant in enum class 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() - 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
- consoleErrorList() - Method in class berlin.yuna.clu.logic.Terminal
- consoleInfo() - Method in class berlin.yuna.clu.logic.Terminal
- consoleInfoList() - Method in class berlin.yuna.clu.logic.Terminal
- consumerErrorStream(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
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
- 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
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.ArgumentReader
-
get
- get(String, String) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
get
- getBoolean(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getBoolean
- getBoolean(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 class berlin.yuna.clu.model.OsArch
- getContains() - Method in enum class berlin.yuna.clu.model.OsArchType
- getDouble(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDouble
- getDouble(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDouble
- getDouble(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDouble
- getDoubles(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDoubles
- getDoubles(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDoubles
- getDoubles(String, String[]) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getDoubles
- getLong(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getLong
- getLong(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
- getLong(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getLong
- getLongs(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getLongs
- getLongs(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 class berlin.yuna.clu.model.OsType
- getString(int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getString
- getString(String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getString
- getString(String, int, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getString
- getStrings(char, String...) - Method in class berlin.yuna.clu.logic.ArgumentReader
-
getStrings
- getStrings(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 class berlin.yuna.clu.model.OsType
K
- killCommand(OsType) - Static method in class berlin.yuna.clu.logic.SystemUtil
- killProcessByName(String) - Static method in class berlin.yuna.clu.logic.SystemUtil
-
kills processes by name
M
- messageCount() - Method in class berlin.yuna.clu.logic.Terminal
O
- of(String) - Static method in enum class berlin.yuna.clu.model.OsArch
- of(String) - Static method in enum class berlin.yuna.clu.model.OsArchType
- of(String) - Static method in enum class berlin.yuna.clu.model.OsType
- OS - Static variable in class berlin.yuna.clu.logic.SystemUtil
- OS_2 - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_400 - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_AIX - Enum constant in enum class 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 - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_FREE_BSD - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_HP_UX - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_IRIX - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_LINUX - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_MIPS - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_NET_BSD - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_OPEN_BSD - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_SOLARIS - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_SUN - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_UNKNOWN - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_WINDOWS - Enum constant in enum class berlin.yuna.clu.model.OsType
- OS_ZOS - Enum constant in enum class berlin.yuna.clu.model.OsType
- OsArch - Enum Class in berlin.yuna.clu.model
- OsArchType - Enum Class in berlin.yuna.clu.model
- osCase(String, int) - Static method in enum class berlin.yuna.clu.model.OsType
- OsType - Enum Class in berlin.yuna.clu.model
P
- 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:
getString(String, int, String...)
getLong(String, int, String...)
getDouble(String, int, String...)
getValue(String, int, String...)
get(String, String)
getCommands()
hasCommand(String) - 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:
getString(String, int, String...)
getLong(String, int, String...)
getDouble(String, int, String...)
getValue(String, int, String...)
get(String, String)
getCommands()
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
- running() - Method in class berlin.yuna.clu.logic.Terminal
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
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
- 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 class berlin.yuna.clu.logic.Terminal
- toString() - Method in enum class berlin.yuna.clu.model.OsArch
- toString() - Method in enum class berlin.yuna.clu.model.OsArchType
- toString() - Method in enum class berlin.yuna.clu.model.OsType
V
- valueOf(String) - Static method in enum class berlin.yuna.clu.model.OsArch
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class berlin.yuna.clu.model.OsArchType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class berlin.yuna.clu.model.OsType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class berlin.yuna.clu.model.OsArch
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class berlin.yuna.clu.model.OsArchType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class berlin.yuna.clu.model.OsType
-
Returns an array containing the constants of this enum class, 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 and Interfaces|All Packages|Serialized Form