A B C D E G H I L M P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSystemCommandExecuterImpl - Class in com.github.toolarium.system.command.impl
-
Abstract base class for system command execution
- AbstractSystemCommandExecuterImpl(IProcessEnvironment, ISystemCommand) - Constructor for class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Constructor for AbstractSystemCommandExecuterImpl
- AbstractSystemCommandExecuterImpl.PlatformDependentCommand - Class in com.github.toolarium.system.command.impl
-
Platform dependent command
- add(String) - Method in class com.github.toolarium.system.command.dto.SystemCommand
-
Add an additional part of the command
- add(String, String) - Method in class com.github.toolarium.system.command.dto.SystemCommand
-
Add an additional part of the command
- addToCommand(String) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Add an additional part of the command
- addToCommand(String, String) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Add an additional part of the command
- addToCommand(Map<String, String>, String, boolean) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Add an additional part of the command, e.g.
- addToCommand(Map<String, String>, String, boolean, Set<String>) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Add an additional part of the command, e.g.
- AsynchrounousProcess - Class in com.github.toolarium.system.command.dto
-
Implements the
IAsynchronousProcess
. - AsynchrounousProcess(IProcessEnvironment, ISystemCommand, Process) - Constructor for class com.github.toolarium.system.command.dto.AsynchrounousProcess
-
Constructor for AsynchrounousProcess
B
- build() - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Build the system executer
- BUILD_TIMESTAMP - Static variable in class com.github.toolarium.system.command.Version
-
The build timestamp
C
- channelCopy(InputStream, OutputStream) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
This method copies data from the src and writes it to the dest until EOF on src.
- channelCopy(ReadableByteChannel, WritableByteChannel) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
This method copies data from the src channel and writes it to the dest channel until EOF on src.
- clearEnvironmentVariables() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
-
Clear the environment variables
- close(Closeable) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Close silent a stream
- com.github.toolarium.system.command - package com.github.toolarium.system.command
- com.github.toolarium.system.command.dto - package com.github.toolarium.system.command.dto
- com.github.toolarium.system.command.impl - package com.github.toolarium.system.command.impl
- com.github.toolarium.system.command.impl.util - package com.github.toolarium.system.command.impl.util
- COMPONENT_ID - Static variable in class com.github.toolarium.system.command.Version
-
The component id
- convertStreamTo(InputStream) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Convert the InputStream to String we use the Reader.read(char[] buffer) method.
- convertStreamToNewInputStream(InputStream) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Convert the InputStream to String we use the Reader.read(char[] buffer) method.
- convertStreamToStr(InputStream) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Convert the InputStream to String we use the Reader.read(char[] buffer) method.
- convertStreamToStr(InputStream, String) - Method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Convert the InputStream to String we use the Reader.read(char[] buffer) method.
- create() - Static method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Create a new builder
- createProcessBuilder(AbstractSystemCommandExecuterImpl.PlatformDependentCommand) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Create a process builder
- createSleepCommand(int) - Method in class com.github.toolarium.system.command.SystemCommandFactory
-
Create a sleep command
- createSystemCommandExecuter(IProcessEnvironment, ISystemCommand) - Method in class com.github.toolarium.system.command.SystemCommandExecuterFactory
-
Create a system command executer
D
- DESCRIPTION - Static variable in class com.github.toolarium.system.command.Version
-
The description
- destroy() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- destroy() - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Destroy the process immediate.
E
- environmentVariable(String, String) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Add an environment variable
- equals(Object) - Method in class com.github.toolarium.system.command.dto.Process
- equals(Object) - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- equals(Object) - Method in class com.github.toolarium.system.command.dto.SystemCommand
G
- getArchitecture() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getArchitecture() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the device architecture
- getCommandId() - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl.PlatformDependentCommand
-
The command id
- getCommandList() - Method in class com.github.toolarium.system.command.dto.SystemCommand
- getCommandList() - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl.PlatformDependentCommand
-
Get the command list
- getCommandList() - Method in interface com.github.toolarium.system.command.ISystemCommand
-
The system command list which will be passed in the exact way to the system command.
- getEnvironmentVariable(String) - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getEnvironmentVariable(String) - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the environment variable value
- getEnvironmentVariables() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getEnvironmentVariables() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the environment variables
- getErrorStream() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getErrorStream() - Method in class com.github.toolarium.system.command.dto.Process
- getErrorStream() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the standard error stream connected the process.
- getExitValue() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getExitValue() - Method in class com.github.toolarium.system.command.dto.Process
- getExitValue() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the exit value for the process.
- getInputStream() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getInputStream() - Method in class com.github.toolarium.system.command.dto.Process
- getInputStream() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the standard input stream connected the process.
- getInstance() - Static method in class com.github.toolarium.system.command.impl.util.StreamUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.system.command.SystemCommandExecuterFactory
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.system.command.SystemCommandFactory
-
Get the instance
- getOS() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getOS() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the operating system
- getOSVersion() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getOSVersion() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the operation system version
- getOutputStream() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getOutputStream() - Method in class com.github.toolarium.system.command.dto.Process
- getOutputStream() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the standard output stream connected the process.
- getPid() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getPid() - Method in class com.github.toolarium.system.command.dto.Process
- getPid() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the process id.
- getProcess() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
-
Get the process
- getProcessEnvironment() - Method in class com.github.toolarium.system.command.dto.Process
- getProcessEnvironment() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the process environment
- getProcessHandle() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getProcessHandle() - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Get the process handle.
- getShell() - Method in class com.github.toolarium.system.command.dto.SystemCommand
- getShell() - Method in interface com.github.toolarium.system.command.ISystemCommand
-
The shell to execute.
- getShellCommand(IProcessEnvironment, ISystemCommand) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Get the shell command
- getShellCommand(IProcessEnvironment, ISystemCommand) - Method in class com.github.toolarium.system.command.impl.UnixSystemCommandExecuterImpl
- getShellCommand(IProcessEnvironment, ISystemCommand) - Method in class com.github.toolarium.system.command.impl.WindowsSystemCommandExecuterImpl
- getStartTime() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getStartTime() - Method in class com.github.toolarium.system.command.dto.Process
- getStartTime() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the start time of the process.
- getSystemCommand() - Method in class com.github.toolarium.system.command.dto.Process
- getSystemCommand() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the system command of the process.
- getTotalCpuDuration() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- getTotalCpuDuration() - Method in class com.github.toolarium.system.command.dto.Process
- getTotalCpuDuration() - Method in interface com.github.toolarium.system.command.IProcess
-
Get the total cpu time accumulated of the process.
- getUser() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getUser() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the user.
- getVersion() - Static method in class com.github.toolarium.system.command.Version
-
Get the version number
- getWorkingPath() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- getWorkingPath() - Method in interface com.github.toolarium.system.command.IProcessEnvironment
-
Get the working path
- GROUP_ID - Static variable in class com.github.toolarium.system.command.Version
-
The group id
H
- hashCode() - Method in class com.github.toolarium.system.command.dto.Process
- hashCode() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- hashCode() - Method in class com.github.toolarium.system.command.dto.SystemCommand
I
- IAsynchronousProcess - Interface in com.github.toolarium.system.command
-
Defines an asynchronous process
- IProcess - Interface in com.github.toolarium.system.command
-
Defines the process
- IProcessEnvironment - Interface in com.github.toolarium.system.command
-
Defines the process environment
- IS_RELEASE_VERSION - Static variable in class com.github.toolarium.system.command.Version
-
Define if it is a release version
- isAlive() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- isAlive() - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Check whether the process is alive.
- ISystemCommand - Interface in com.github.toolarium.system.command
-
The command
- ISystemCommandExecuter - Interface in com.github.toolarium.system.command
-
Defines the system command executer
L
- LICENSE - Static variable in class com.github.toolarium.system.command.Version
-
The license
- LICENSE_ORGANISATION - Static variable in class com.github.toolarium.system.command.Version
-
The license organisation
- LinuxSystemCommandExecuterImpl - Class in com.github.toolarium.system.command.impl
-
Implements a linux based system command executer
- LinuxSystemCommandExecuterImpl(IProcessEnvironment, ISystemCommand) - Constructor for class com.github.toolarium.system.command.impl.LinuxSystemCommandExecuterImpl
-
Constructor for LinuxSystemCommandExecuterImpl
M
- main(String[]) - Static method in class com.github.toolarium.system.command.Version
-
Main class to print build / version information
- MAJOR_NUMBER - Static variable in class com.github.toolarium.system.command.Version
-
The major number
- MINOR_NUMBER - Static variable in class com.github.toolarium.system.command.Version
-
The minor number
P
- PACKAGE - Static variable in class com.github.toolarium.system.command.Version
-
The package
- preparePlatformDependentCommandList(IProcessEnvironment, ISystemCommand) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Prepare platform dependent command list.
- Process - Class in com.github.toolarium.system.command.dto
-
Implements the
IProcess
- Process(IProcessEnvironment, ISystemCommand) - Constructor for class com.github.toolarium.system.command.dto.Process
-
Constructor for Process
- Process(IProcessEnvironment, ISystemCommand, Long, Instant, Duration, Integer, OutputStream, InputStream, InputStream) - Constructor for class com.github.toolarium.system.command.dto.Process
-
Constructor for Process
- ProcessEnvironment - Class in com.github.toolarium.system.command.dto
-
Defines the process environment
- ProcessEnvironment() - Constructor for class com.github.toolarium.system.command.dto.ProcessEnvironment
-
Constructor for ProcessEnvironment
- PROJECT_NAME - Static variable in class com.github.toolarium.system.command.Version
-
The project name
- PROJECT_TYPE - Static variable in class com.github.toolarium.system.command.Version
-
The project type
Q
- QUALIFIER - Static variable in class com.github.toolarium.system.command.Version
-
The version qualifier
R
- REVISION_NUMBER - Static variable in class com.github.toolarium.system.command.Version
-
The revision number
- runAsynchronous() - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
- runAsynchronous() - Method in interface com.github.toolarium.system.command.ISystemCommandExecuter
-
Start a new command asynchronous process.
- runSynchronous() - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
- runSynchronous() - Method in interface com.github.toolarium.system.command.ISystemCommandExecuter
-
Start a new command synchronous process.
- runSynchronous(int) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
- runSynchronous(int) - Method in interface com.github.toolarium.system.command.ISystemCommandExecuter
-
Start a new command synchronous process.
S
- SCM_NUMBER - Static variable in class com.github.toolarium.system.command.Version
-
The source management number
- setCommandList(List<String>) - Method in class com.github.toolarium.system.command.dto.SystemCommand
-
Set the command list
- setEnvironmentVariable(String, String) - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
-
Set the environment variable key / value
- setShell(List<String>) - Method in class com.github.toolarium.system.command.dto.SystemCommand
-
Set the shell
- setUser(String) - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
-
Set the user
- setWorkingPath(String) - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
-
Set the working path
- shell(String...) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Set the shell
- SPACE - Static variable in class com.github.toolarium.system.command.dto.SystemCommand
-
SPACE
- StreamUtil - Class in com.github.toolarium.system.command.impl.util
-
Stream util class
- SystemCommand - Class in com.github.toolarium.system.command.dto
-
Implements the
ISystemCommand
. - SystemCommand() - Constructor for class com.github.toolarium.system.command.dto.SystemCommand
-
Constructor for SystemCommand
- SystemCommandExecuterBuilder - Class in com.github.toolarium.system.command
- SystemCommandExecuterFactory - Class in com.github.toolarium.system.command
-
The system command excuter factory
- SystemCommandFactory - Class in com.github.toolarium.system.command
-
Defines the system command factory
T
- toString() - Method in class com.github.toolarium.system.command.dto.Process
- toString() - Method in class com.github.toolarium.system.command.dto.ProcessEnvironment
- toString() - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl.PlatformDependentCommand
- toString(boolean) - Method in class com.github.toolarium.system.command.dto.SystemCommand
- toString(boolean) - Method in interface com.github.toolarium.system.command.ISystemCommand
-
The command as string
- toString(Map<String, String>, String, boolean, Set<String>) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Convert a list to a string
- tryDestroy() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- tryDestroy() - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Try to kill the process.
U
- UnixSystemCommandExecuterImpl - Class in com.github.toolarium.system.command.impl
-
Implements a unix based system command executer
- UnixSystemCommandExecuterImpl(IProcessEnvironment, ISystemCommand) - Constructor for class com.github.toolarium.system.command.impl.UnixSystemCommandExecuterImpl
-
Constructor for WindowsSystemCommandExecuterImpl
- URL - Static variable in class com.github.toolarium.system.command.Version
-
The url of the project
- user(String) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Set the user
V
- validateProcessEnvironment(IProcessEnvironment) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Validate the process environment
- validateSystemCommand(ISystemCommand) - Method in class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
Validate the command list
- Version - Class in com.github.toolarium.system.command
-
The version class
- Version() - Constructor for class com.github.toolarium.system.command.Version
- VERSION - Static variable in class com.github.toolarium.system.command.Version
-
The full version number
W
- waitFor() - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- waitFor() - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Wait, if necessary, until the process is terminated.
- waitFor(long, TimeUnit) - Method in class com.github.toolarium.system.command.dto.AsynchrounousProcess
- waitFor(long, TimeUnit) - Method in interface com.github.toolarium.system.command.IAsynchronousProcess
-
Wait, if necessary, until the process is terminated.
- WindowsSystemCommandExecuterImpl - Class in com.github.toolarium.system.command.impl
-
Implements a windows based system command executer
- WindowsSystemCommandExecuterImpl(IProcessEnvironment, ISystemCommand) - Constructor for class com.github.toolarium.system.command.impl.WindowsSystemCommandExecuterImpl
-
Constructor for WindowsSystemCommandExecuterImpl
- workingPath(String) - Method in class com.github.toolarium.system.command.SystemCommandExecuterBuilder
-
Set the working path
All Classes All Packages